filipr27

ga4 - slb new - locations_region_select

Sep 8th, 2022 (edited)
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Push this dataLayer event when the user selects a region from the dropdown list on the locations page.
  2.  
  3. <script>
  4. window.dataLayer = window.dataLayer || [];
  5. window.dataLayer.push({
  6.  'event': 'locations_region_select',
  7.  'region': '<region>'  //Selected region from the dropdown list.
  8.  });
  9. </script>
Advertisement
Add Comment
Please, Sign In to add comment