Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //push the banner_link_click event to dataLayer when the user clicks the CTA button within the banner on all website pages where banners exist.
- <script>
- window.dataLayer = window.dataLayer || [];
- window.dataLayer.push({
- 'event': 'banner_link_click',
- 'cd_click_text': 'REQUEST MORE INFORMATION!', //cd_click_text should contain CTA button text (for example, REQUEST MORE INFORMATION!)
- 'cd_click_url': 'https://nl.dunigroup.com/en/branded-napkins#cmsitem_00203006' //cd_click_url should contain a destination URL where the user will land after the click. (for example https://nl.dunigroup.com/en/branded-napkins#cmsitem_00203006 on the https://nl.dunigroup.com/en/branded-napkins page)
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment