Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Push this dataLayer event when the user clicks on a location address on the locations page.
- <script>
- window.dataLayer = window.dataLayer || [];
- window.dataLayer.push({
- 'event': 'locations_address_click',
- 'location_id': 'cameron 1', //ID of the location.
- 'ui_element_name': 'address card', //The name of the UI element from the Zeplin file.
- 'ui_element_category': 'card' //The category of the UI element.
- });
- </script>
Add Comment
Please, Sign In to add comment