Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Push this dataLayer event when a user clicks on a topic link. This usually happens on the Topic template page.
- <script>
- window.dataLayer = window.dataLayer || [];
- window.dataLayer.push({
- 'event': 'topic_click',
- 'page_section': 'how can we partner to help you reach your sustainability goals?', //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 tags)
- 'topic': 'minimize well construction co2 footprint', //Name of the topic.
- 'campaign': '<campaign>' //Name of the campaign.
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment