filipr27

GA4 - share_on_social_click - Duni

Apr 27th, 2023
762
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //Push the show_contact_info_click when a user clicks on the "Show Information" button on the contact page.
  2.  
  3. <script>
  4. window.dataLayer = window.dataLayer || [];
  5. window.dataLayer.push({
  6.  'event': 'share_on_social_click',
  7.  'cd_event_label': 'Share on www.youtube.com'  //Should indicate the name of the social media network where it was intended to be shared.
  8.  });
  9. </script>
Advertisement
Add Comment
Please, Sign In to add comment