-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Implement audio teaser view tracking in n-tracking as it's required by several FT applications.
This code is currently required in the search page, the article page and the stream page. As the audio team is currently winding down, it makes sense to centralise this code so that the tracking events being sent by each application remain consistent without the active oversight of a team.
Example implementation from https://github.com/Financial-Times/next-search-page/pull/264
oTracking.view.init({
selector: '.o-teaser--audio',
getContextData: (el) => {
return {
componentContentId: el.getAttribute('data-id'),
component: 'teaser',
type: 'audio',
subtype: 'podcast'
};
}
});```
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels