View difference between Paste ID: NkYycVCF and H2iRpqRA
SHOW: | | - or go back to the newest paste.
1-
// Fire this event each time a new user successfully signs up.
1+
// Fire this event each time a user successfully logs in.
2
3
<script>
4
window.dataLayer = window.dataLayer || [];
5
window.dataLayer.push({
6-
 'event': 'sign_up',
6+
 'event': 'login',
7-
 'sign_up_method': 'email',  //Variable value based on the method used to register, e.g. "email" or "google".
7+
 'login_method': 'email',  //Variable value based on the method used to register, e.g. "email" or "google".
8-
 'promo_code': 'none',  //Variable value based on which promo code was applied. E.g. "none", "newyear2023", etc.
8+
9
 });
10
</script>