Send event when discover new header link clicked

This commit is contained in:
Douglas Hall
2019-06-25 17:41:58 -04:00
committed by Douglas Hall
parent 894ea2c553
commit 30ce220eb3
3 changed files with 10 additions and 4 deletions

View File

@@ -53,6 +53,12 @@ function PageContent({
type: 'item',
href: `${configuration.MARKETING_SITE_BASE_URL}/course`,
content: intl.formatMessage(messages['siteheader.links.content.search']),
onClick: () => {
sendTrackEvent(
'edx.bi.dashboard.find_courses_button.clicked',
{ category: 'profile', label: 'header' },
);
},
},
];
const userMenu = [