Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- window.dataLayer = window.dataLayer || [];
- window.dataLayer.push({
- event: 'purchase', // name of the event. In this case, it always must be purchase
- brand: 'EGO', //name of brand for which XPay has been loaded
- ecommerce: {
- currency: 'PKR',
- value: 29.98, // order total (price of all products + shipping)
- tax: 3.00, // tax
- shipping: 5.00, // shipping costs
- transaction_id: 'abc123', // transaction id
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement