Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- pagePostType: 'page',
- pagePostType2: 'single-page',
- pagePostAuthor: 'admin',
- browserName: 'Chrome',
- browserVersion: '87.0.4280.141',
- browserEngineName: 'Blink',
- browserEngineVersion: '',
- osName: 'Windows',
- osVersion: '10.0',
- deviceType: 'desktop',
- deviceManufacturer: '',
- deviceModel: '',
- customerTotalOrders: 1,
- customerTotalOrderValue: '0.00',
- customerFirstName: 'xxxxx',
- customerLastName: 'xxxxxx',
- customerBillingFirstName: 'xxxxxx',
- customerBillingLastName: 'xxxxx',
- customerBillingCompany: '',
- customerBillingAddress1: 'xxxxxxxx',
- customerBillingAddress2: '',
- customerBillingCity: 'London',
- customerBillingPostcode: 'SW15 5QJ',
- customerBillingCountry: 'GB',
- customerBillingEmail: 'xxxxx@xxxxx.eu',
- customerBillingPhone: '+39xxxxxxx',
- customerShippingFirstName: 'xxxxx',
- customerShippingLastName: 'xxxx',
- customerShippingCompany: '',
- customerShippingAddress1: 'xxxxxxxx',
- customerShippingAddress2: '',
- customerShippingCity: 'London',
- customerShippingPostcode: 'SW15 5QJ',
- customerShippingCountry: 'GB',
- cartContent: {
- totals: {
- applied_coupons: [],
- discount_total: 0,
- subtotal: 0,
- total: 0
- },
- items: []
- },
- orderData: {
- attributes: {
- date: '2021-01-18T14:58:14+00:00',
- order_number: '6138',
- order_key: 'wc_order_RERNapVprVShG',
- payment_method: 'paypal',
- payment_method_title: 'PayPal',
- shipping_method: 'Free collection from SW15 5QJ',
- status: 'pending',
- coupons: ''
- },
- totals: {
- currency: 'GBP',
- discount_total: '0',
- discount_tax: '0',
- shipping_total: '0.00',
- shipping_tax: '0',
- cart_tax: '0',
- total: '6.90',
- total_tax: '0',
- total_discount: '0',
- subtotal: '6.9',
- tax_totals: []
- },
- customer: {
- id: 1,
- billing: {
- first_name: 'xxxxx',
- last_name: 'xxxxx',
- company: '',
- address_1: 'xxxxxxxxxx',
- address_2: '',
- city: 'London',
- state: '',
- postcode: 'SW15 5QJ',
- country: 'GB',
- email: 'xxxxxx@xxxxxxxx.eu',
- phone: '+39xxxxxx'
- },
- shipping: {
- first_name: 'xxxxxxx',
- last_name: 'xxxxxxx',
- company: '',
- address_1: 'xxxxxxxxxxx',
- address_2: '',
- city: 'London',
- state: '',
- postcode: 'SW15 5QJ',
- country: 'GB'
- }
- },
- items: [
- {
- id: 'BATT04',
- name: 'Nespresso 100% Arabica Coffee, 20 compatible pods',
- sku: 'BATT04',
- category: 'Nespresso compatible pods',
- price: 6.9,
- stocklevel: 49,
- brand: 'Coffee and Tea',
- quantity: 1
- }
- ]
- },
- event: 'gtm4wp.orderCompletedEEC',
- ecommerce: {
- currencyCode: 'GBP',
- purchase: {
- actionField: {
- id: '6138',
- affiliation: '',
- revenue: 6.9,
- tax: 0,
- shipping: 0,
- coupon: ''
- },
- products: [
- {
- id: 'BATT04',
- name: 'Nespresso 100% Arabica Coffee, 20 compatible pods',
- sku: 'BATT04',
- category: 'Nespresso compatible pods',
- price: 6.9,
- stocklevel: 49,
- brand: 'Coffee and Tea',
- quantity: 1
- }
- ]
- }
- },
- ecomm_prodid: ['BATT04'],
- ecomm_pagetype: 'purchase',
- ecomm_totalvalue: 6.9,
- google_tag_params: {
- pagePostType: 'page',
- pagePostType2: 'single-page',
- pagePostAuthor: 'admin',
- browserName: 'Chrome',
- browserVersion: '87.0.4280.141',
- browserEngineName: 'Blink',
- browserEngineVersion: '',
- osName: 'Windows',
- osVersion: '10.0',
- deviceType: 'desktop',
- deviceManufacturer: '',
- deviceModel: '',
- customerTotalOrders: 1,
- customerTotalOrderValue: '0.00',
- customerFirstName: 'xxxxxx',
- customerLastName: 'xxxxxx',
- customerBillingFirstName: 'xxxxx',
- customerBillingLastName: 'xxxxxx',
- customerBillingCompany: '',
- customerBillingAddress1: 'xxxxxxxxx',
- customerBillingAddress2: '',
- customerBillingCity: 'London',
- customerBillingPostcode: 'SW15 5QJ',
- customerBillingCountry: 'GB',
- customerBillingEmail: 'xxxxx@xxxxxx.eu',
- customerBillingPhone: '+39xxxxxx',
- customerShippingFirstName: 'xxxxxx',
- customerShippingLastName: 'xxxxxx',
- customerShippingCompany: '',
- customerShippingAddress1: '8 xxxxxxxxx',
- customerShippingAddress2: '',
- customerShippingCity: 'London',
- customerShippingPostcode: 'SW15 5QJ',
- customerShippingCountry: 'GB',
- cartContent: {
- totals: {
- applied_coupons: [],
- discount_total: 0,
- subtotal: 0,
- total: 0
- },
- items: []
- },
- orderData: {
- attributes: {
- date: '2021-01-18T14:58:14+00:00',
- order_number: '6138',
- order_key: 'wc_order_RERNapVprVShG',
- payment_method: 'paypal',
- payment_method_title: 'PayPal',
- shipping_method: 'Free collection from SW15 5QJ',
- status: 'pending',
- coupons: ''
- },
- totals: {
- currency: 'GBP',
- discount_total: '0',
- discount_tax: '0',
- shipping_total: '0.00',
- shipping_tax: '0',
- cart_tax: '0',
- total: '6.90',
- total_tax: '0',
- total_discount: '0',
- subtotal: '6.9',
- tax_totals: []
- },
- customer: {
- id: 1,
- billing: {
- first_name: 'xxxxxxx',
- last_name: 'xxxxxxx',
- company: '',
- address_1: '8 xxxxxxx',
- address_2: '',
- city: 'London',
- state: '',
- postcode: 'SW15 5QJ',
- country: 'GB',
- email: 'xxxxx@xxxxxxx.eu',
- phone: '+39xxxxxxxx'
- },
- shipping: {
- first_name: 'xxxxxx',
- last_name: 'xxxxxxx',
- company: '',
- address_1: '8 xxxxxxxxxxxxxxx',
- address_2: '',
- city: 'London',
- state: '',
- postcode: 'SW15 5QJ',
- country: 'GB'
- }
- },
- items: [
- {
- id: 'BATT04',
- name: 'Nespresso 100% Arabica Coffee, 20 compatible pods',
- sku: 'BATT04',
- category: 'Nespresso compatible pods',
- price: 6.9,
- stocklevel: 49,
- brand: 'Coffee and Tea',
- quantity: 1
- }
- ]
- },
- event: 'gtm4wp.orderCompletedEEC',
- transactionId: '6138',
- transactionAffiliation: '',
- transactionTotal: 6.9,
- transactionShipping: 0,
- transactionTax: 0,
- transactionCurrency: 'GBP',
- ecommerce: {
- currencyCode: 'GBP',
- purchase: {
- actionField: {
- id: '6138',
- affiliation: '',
- revenue: 6.9,
- tax: 0,
- shipping: 0,
- coupon: ''
- },
- products: [
- {
- id: 'BATT04',
- name: 'Nespresso 100% Arabica Coffee, 20 compatible pods',
- sku: 'BATT04',
- category: 'Nespresso compatible pods',
- price: 6.9,
- stocklevel: 49,
- brand: 'Coffee and Tea',
- quantity: 1
- }
- ]
- }
- },
- transactionProducts: [
- {
- id: 'BATT04',
- name: 'Nespresso 100% Arabica Coffee, 20 compatible pods',
- sku: 'BATT04',
- category: 'Nespresso compatible pods',
- price: 6.9,
- stocklevel: 49,
- brand: 'Coffee and Tea',
- quantity: 1
- }
- ],
- ecomm_prodid: ['BATT04'],
- ecomm_pagetype: 'purchase',
- ecomm_totalvalue: 6.9
- },
- gtm: {uniqueEventId: 1}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement