filipr27

slb - datalayer push

Mar 17th, 2022
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // let's have all the parameters that we need on page load in one event - the existing userIdSet event.
  2. // E.g. on the page https://www.slb.com/videos/sonic-scanner-platform-logging-theory   -   the example would look like this
  3.  
  4. <script>
  5. window.dataLayer = window.dataLayer || [];
  6. window.dataLayer.push({
  7.   'loggedIn': 'False',
  8.   'xdbId': '3299d6e0-7360-4a85-a6e9-a7980a452fd1',
  9.   'event': 'userIdSet',
  10.   'ownerInquiry': 'RPF-RPE-FE',
  11.   'techChallenge': '',
  12.   'tradePub': '',
  13.   'topic': 'Surface Logging \u0026 Wireline',
  14.   'productTagging':'Sonic Scanner Platform Logging Theory
  15.  });
  16. </script>
Advertisement
Add Comment
Please, Sign In to add comment