...
User Detail data is pushed on every page of the site. There is the option to push data for logged in users only.
- The 'User_ID' = the user's unique identifier (database field ?= user.userid )
Code Block | ||||
---|---|---|---|---|
| ||||
{ "User_ID": "unique user id" } |
...
d. Questionnaire Anchor ecomquestion ecomquestion
This Questionnaire data is only pushed for non-widget-based questionnaires as .
Since the URL does not change after the questionnaire is submitted so post submission, a virtual URL is pushed. Widget (In contrast, widget-based questionnaires have a URL redirect URL after form post submission.)
Code Block | ||||
---|---|---|---|---|
| ||||
{ "virtualURL": "thank you URL" } |
...
Property | Value | Notes |
---|---|---|
step | The checkout step number:
| |
- step
the step number
Info // Step 1 - going to the cart
// Step 2 - attempting to checkout but need to log in
// Step 3 - going to the delivery options
// Step 4 - going to the payment options
// Step 5 - going to submit the order
- products
- the products in the cart
...
| Steps 3 & 4 will trigger additional 'Product Option' data to be pushed, in the form of the option selected at this step. For example, the freight option selected at Step 3 or the payment method selected at Step 4 (sample provided below). | |
products | The products in the cart | Standard product data will be pushed for each product in the cart (e.g. name, id, category, brand, price). |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "event": "checkout", "event_type": "checkout", "ecommerce": { "checkout": { "actionField": { "step": 1 }, "products": [ { "name": "Product Description", "id": "ProductCode", "category": "/first level/second level/third level", "brand": "brand name", "price": "99.99" } ] } } } |
...