Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Push this dataLayer event when the user clicks on a strategic field of play link on any page.
- <script>
- window.dataLayer = window.dataLayer || [];
- window.dataLayer.push({
- 'event': 'strategic_field_click',
- 'page_section': 'other product divisions', //Section of the page where the event happened.
- 'position': '2', //The element's position in the list, carousel, or card section.
- 'strategic_field': ' innovating in oil & gas', //Strategic field of play name.
- 'tab_name': '<tab_name>', //Name of the tab that was selected or from which the link was clicked.
- 'ui_element_name': '<ui_element_name>', //Name of the UI element from the Zeplin file.
- 'ui_element_category': 'card' //Category of the UI element.
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment