Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Push this dataLayer event when the user clicks to change between the tabs in the strategic field section.
- <script>
- window.dataLayer = window.dataLayer || [];
- window.dataLayer.push({
- 'event': 'strategic_field_tab_change',
- 'page_section': 'page_section', //Section of the page where the event happened.
- 'tab_name': '<tab_name>', //Name of the tab that was selected or from which the link was clicked.
- 'strategic_field': '<strategic_field>',
- 'position': '2',
- 'ui_element_name': '<ui_element_name>', //Name of the UI element from the Zeplin file.
- 'ui_element_category': 'ui_element_category' //Category of the UI element.
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment