SHOW:
|
|
- or go back to the newest paste.
| 1 | - | // Fire this dataLayer event when a user is redirected to the nexttraining.net website after logging in from the subdomain csi.slb.com login page. The event should fire only for successful logins. |
| 1 | + | // Fire this dataLayer event when a user is redirected to the software/commerce.slb.com website after logging in from the subdomain csi.slb.com login page. The event should fire only for successful logins. |
| 2 | ||
| 3 | <script> | |
| 4 | window.dataLayer = window.dataLayer || []; | |
| 5 | window.dataLayer.push({
| |
| 6 | 'event': 'login', | |
| 7 | 'userId': '123456789' // User ID from the website's database. | |
| 8 | }); | |
| 9 | </script> |