Use this installation method if you don't use one of the standard shop platforms.
Insert the following code right underneath the opening <body> tag:
In case the visitor is logged into his or her account, you can transmit this information in a separate function call to Divvit to enhance cross-device tracking abilities.
The following code should be placed on the page which the customer reaches after an order has been placed successfully ("thank you" page, or checkout success page).
To track products that have been added to the cart, you can either go for an event-based approach or update the total cart each time the user adds or removes a product.
Since you might already have configured all your channels for reporting in Google Analytics, we do offer the possibility to simply use all of your pre-configured utm_source, utm_medium, utm_term, utm_content, utm_campaign parameters without any changes.
If you are not yet tracking your traffic sources or want to switch your tracking to the DIVVIT method, then your should configure your redirect URLs in the following way:
dv_chgroup / dv_channel
Whenever possible you should sort your traffic into the following channel groups (dv_chgroup) and channels (dv_channel). In case you are working with a channel that is not listed, you can create your own tag for it. Please stick to the provided channel groups, though.