Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Push this dataLayer event when user clicks on a link in the breadcrumbs section of the page.
- <script>
- window.dataLayer = window.dataLayer || [];
- window.dataLayer.push({
- 'event': 'breadcrumbs_click',
- 'click_element': 'home' //Text or description of the element that was clicked on.
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment