Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- gtag('event', 'begin_checkout', {
- "currency": "EUR",
- "value": 2, // Sum of prices for the products in the checkout cart
- "items": [ // Array with the products in the checkout cart
- {
- "id": "P12345",
- "name": "Android Warhol T-Shirt",
- "brand": "Google",
- "category": "Apparel/T-Shirts",
- "variant": "Black",
- "quantity": 1,
- "price": 2,
- "google_business_vertical": "retail"
- },
- {
- "id": "P67890",
- "name": "Flame challenge TShirt",
- "brand": "MyBrand",
- "category": "Apparel/T-Shirts",
- "variant": "Red",
- "quantity": 1,
- "price": 3,
- "google_business_vertical": "retail"
- }
- ]
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement