Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Push this dataLayer event when the user deactivates their account.
- <script>
- window.dataLayer = window.dataLayer || [];
- window.dataLayer.push({
- 'event': 'account_deactivated',
- 'user_id': '<user_id>', //Unique user ID of a registered user from the website's database.
- 'membership_duration': '14' //For how long the user has been a registered member. (months)
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment