Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tp.push(["addHandler", "checkoutComplete", function(conversion){
- gtag('event', 'purchase', {
- "transaction_id": "24.031608523954162", // termID
- "affiliation": "Google online store", // Spectator
- "value": 23.07, // chargeAmount
- "currency": "USD", // chargeCurrency
- "tax": 1.24, // make this 0
- "shipping": 0, // make this 0
- "items": [
- {
- "id": "P12345", // Any idea which one is product ID?
- "name": "Android Warhol T-Shirt", // Any idea which one is product Name?
- "brand": "Google", // Spectator
- "category": "Apparel/T-Shirts", // Subscription
- "quantity": 1, // they should all be 1, correct?
- "price": '2.0' // chargeAmount
- }
- ]
- });
- }]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement