Untitled
unknown
plain_text
5 months ago
1.2 kB
5
Indexable
dataLayer.push({ event: "purchase", ecommerce: { transaction_id: "T12345", // Unique transaction ID value: 59.99, // Total value of the transaction currency: "EUR", tax: 5.99, // Optional: Tax amount shipping: 4.99, // Optional: Shipping cost items: [ { item_id: "12345", // Product ID item_name: "Product Name", price: 19.99, quantity: 3 } ] }, dyn_remarketing: { ecomm_prodid: ["12345"], // Array of product IDs purchased ecomm_pagetype: "purchase", ecomm_totalvalue: 59.99 // Total transaction value }, enhanced_conversion_data: { email: "customer@example.com", // Encrypted email address phone: "+1234567890", // Encrypted phone number first_name: "John", // Encrypted first name last_name: "Doe", // Encrypted last name address: { street: "123 Main St", city: "Anytown", region: "Anystate", postal_code: "12345", country: "US" } } });
Editor is loading...
Leave a Comment