Advertisement
filipr27

ga - marketplace_connected

Mar 25th, 2023 (edited)
616
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Fire this event when a user successfully connects a marketplace.
  2.  
  3. <script>
  4. window.dataLayer = window.dataLayer || [];
  5. window.dataLayer.push({
  6.  'event': 'marketplace_connected',
  7.  'marketplace_name': 'ebay',  //Variable value, e.g. "ebay" or "etsy", etc.
  8.  'marketplace_number': '1'  //The number of marketplaces that a user has connected up to the current marketplace (e.g. "1" for the first marketplace they connect, "2" for the second marketplace they connect, etc.)
  9.  });
  10. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement