SHOW:
|
|
- or go back to the newest paste.
| 1 | //Push this dataLayer event on every page before Google Tag Manager loads. | |
| 2 | ||
| 3 | <script> | |
| 4 | window.dataLayer = window.dataLayer || []; | |
| 5 | window.dataLayer.push({
| |
| 6 | 'event': 'user_info', | |
| 7 | 'user_id': '564363463456', //Unique user ID of a registered user from the website's database. | |
| 8 | 'login_status': 'logged in', //If the user is logged in or not. | |
| 9 | - | 'sap_outbound_id': 'asdf2314512', //TBD |
| 9 | + | |
| 10 | - | 'industry_id': '4150' //user industry ID variable |
| 10 | + |