SHOW:
|
|
- or go back to the newest paste.
1 | window.dataLayer = window.dataLayer || []; | |
2 | dataLayer.push({ | |
3 | - | 'event': 'sign_up', |
3 | + | event: 'login', |
4 | - | 'user_id': '123abc' // this should be replaced by actual user ID and cannot be PII e.g. email address or IP address |
4 | + | userId: '123abc' // this should be replaced by actual user ID and cannot be PII e.g. email address or IP address |
5 | method: 'Google' // it should be the actual method used by the user to login (Google, Facebook etc) | |
6 | }); |