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