filipr27

GA4 - hotspot_click - Duni

Jun 19th, 2023 (edited)
662
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //The hotspot_click event should be sent to dataLayer when the user clicks on the hotspot button that opens the pop-up.
  2.  
  3. <script>
  4. window.dataLayer = window.dataLayer || [];
  5. window.dataLayer.push({
  6.  'event': 'hotspot_click',
  7.  'cd_event_label': 'Candle Holder Blink 7,5 X Ø 5,5 cm'  //name of the product
  8.  });
  9. </script>
Advertisement
Add Comment
Please, Sign In to add comment