dusanmiha

GA4 - led_calculator_input - Duni

Apr 27th, 2023 (edited)
374
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //The led_calculator_input event should be sent to dataLayer when the user clicks calculate button within the led calculator
  2.  
  3. <script>
  4. window.dataLayer = window.dataLayer || [];
  5. window.dataLayer.push({
  6.  'event': 'led_calculator_input',
  7.  'cd_event_label': '23 TEA LIGHTS, 12.00 EURO / 1000 TEA LIGHTS'  //cd_event_label parameter should contain both "How many tea lights do you use monthly" and "how much do you pay per 1000 tea lights) values separated by a comma
  8.  });
  9. </script>
Advertisement
Add Comment
Please, Sign In to add comment