Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- window.dataLayer = window.datalayer || [];
- dataLayer.push ({
- event: 'login',
- userId: 'Personno',// the popi id of the user (pulled from OCC)
- transactionID: "TransactionID",//the id of the transaction (element for enhanced eCommerce)
- terms: 'Terms' ,//number of instalments (element for enhanced eCommerce)
- segments: "Segments",// the segment of the user (pulled from OCC)
- customerGroup: "CustomerGroup",// the segment of the user (pulled from OCC)
- lifeStages: "LifeStages",// the Life Stage of the user (pulled from OCC)
- marketingFlag: "MarketingFlag",// the MarketingFlag of the user (pulled from OCC)
- atb: "ATB",// the Amount To Buy of the user (pulled from OCC)
- furnitureEligible: 'FurnitureEligible',// the furniture worthiness of the user (pulled from OCC)
- sessionNumber: 7 //the number of the session of the logged in user
- });
- <script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement