Transaction TAG
In order to track the sales generated after watching a Live Shopping event or a Highlight video, you need to install our transaction tracking tag on your order confirmation page (or the other element you need to track).
Prerequisite
This tag must be inserted on your order confirmation page.
This tag must always be inserted BEFORE the Aploze main JS TAG.
You always need to load the Aploze main JS TAG AFTER the transaction tracking tag.
Usage
Here what the transaction tracking tag looks like:
The Transaction Tracking tag is split in 2 part:
1) The transaction object: where you need to pass order information (transaction ID, Order Amount, product details)
2) The transaction storage: where the transaction is stored into the Aploze Technical Cookie (you don't need to modify this part)
This transaction tracking tag only needs to be declared on the payment confirmation page. It should not be defined on the other pages of your website.
Which information do I need to pass?
Here all details you need to send to record a transaction:
transactionId
: identifier of the order (mandatory - must be unique for each transaction) - STRINGamount
: order amount (mandatory - must contain an amount, greater than 0.00 - the decimal delimiter must be a period). - NUMBERproducts
: order details (mandatory): - ARRAYid
: product ID - STRINGprice
: product price - NUMBERquantity
: product quantity - NUMBER
Product IDs must be relative to those entered in the administration panel.
If the values in the transaction do not have right format, the transaction will not be computed.
The transaction can not have empty values either.
How transactions are taken into account?
The transaction tracking tag must be present on the payment confirmation page (sales are recorded in the statistics)
The visitor must go to the payment confirmation page and stay long enough for the transaction tracking tag to be called
A sale is saved in Aploze if the required parameters are filled in the transaction code
The video watched and the sale must be carried out from the same browser.
A sale is associated with an Aploze LiveShopping Event or a Highlight Video.
Please contact us to get more infos about the attribution window.
Why use a cookie to store the transaction?
By using a cookie, the transaction is recorded even if the user leaves the confirmation page before the Aploze library is fully loaded.
After, if the user navigates to another page where the Aploze library is present, the library will read the cookie and send the transaction to our servers. (and delete the transaction from the cookie)
Where can I see the transactions generated by Aploze?
In the administration panel, you can view all the statistics related to the Aploze solution. A new purchase section will be available as soon as a transaction is received on our servers.
Shopify Transaction Pixel
To track transactions via Shopify's new checkout feature "Shopify Extensibility", we have developed specific code to be added as a pixel on the following page: https://admin.shopify.com/settings/customer_events
Last updated