diff --git a/services/web/app/views/project/list.pug b/services/web/app/views/project/list.pug index f707cd9411..aad484a75e 100644 --- a/services/web/app/views/project/list.pug +++ b/services/web/app/views/project/list.pug @@ -50,6 +50,7 @@ block content p.announcement-date {{ announcement.date | date:"longDate" }} a.announcement-link( ng-href="{{ announcement.url }}" + ng-click="logAnnouncementClick()", target="_blank" ) Read more div.text-center( diff --git a/services/web/public/coffee/main/announcements.coffee b/services/web/public/coffee/main/announcements.coffee index cccebf56ad..fbaf731032 100644 --- a/services/web/public/coffee/main/announcements.coffee +++ b/services/web/public/coffee/main/announcements.coffee @@ -15,6 +15,9 @@ define [ markAnnouncementsAsRead = -> event_tracking.sendMB "announcement-alert-dismissed", { blogPostId: $scope.announcements[0].id } + $scope.announcementClicked = -> + event_tracking.sendMB "announcement-read-more-clicked", { blogPostId: $scope.announcements[0].id } + refreshAnnouncements() $scope.toggleAnnouncementsUI = ->