Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Push this dataLayer event when the user clicks on a newsroom-type link on any page. These links usually appear in "latest news" or "related news" sections. They also appear on the Newsroom page.
- <script>
- window.dataLayer = window.dataLayer || [];
- window.dataLayer.push({
- 'event': 'newsroom_click',
- 'page_section': 'latest news', // Section of the page where the event happened. This is usually the title of the hero banner or heading for the part of the page. (H1 or H2 tag)
- 'title': 'schlumberger announces second quarter 2022 results conference call', // The title of the content piece.
- 'content_type': 'press release', // The type of content.
- 'content_group': 'newsroom', // The content group that the content piece belongs to.
- 'position': '3', // The element's position in the list, carousel, or card section.
- 'ui_element_name': 'news highlight columns', // The name of the UI element from the Zeplin file.
- 'ui_element_category': 'highligt columns' // The category of the UI element.
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment