Jawad_Khan

UserID dataLayer push

Jul 5th, 2022 (edited)
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.27 KB | None | 0 0
  1. dataLayer.push({
  2. 'event': 'userData',
  3. 'user_id': '123abc' // this should be replaced by actual user ID and cannot be PII e.g. email address or IP address
  4. 'loggedin': 'True or False' // based on the status of the user (if loggedin then True and if not loggedin then False)
  5. })
Add Comment
Please, Sign In to add comment