There are five steps you need to do in order to activate conversion tracking for your UGC widgets.
1. Insert script on the checkout page
Navigate to Analytics
Click Show analytics script
Copy the script
Implement the script on your checkout page
If you have the same checkout page as your order where people visit multiple times, ensure this script is only run once for each order. Otherwise, the data will be wrong and display an incorrect conversion rate.
2. Send test data to Cevoid
Below the script you added on the checkout page, add a second script that pushes data to Cevoid. The script is structured like the image below. Copy the code from the tutorial and enter the actual values of the order data that was purchased.
If you have multiple items that have been bought, add multiple items to the items array.
Explanation of the values:
orderId: A unique value that is used to track which order it is
orderNumber: Visual order number displayed to the customer. A unique value that is used to track which order it is.
If orderId and orderNumber are the same for your platform. Simply input the same values for both fields.
id - The id for the product (often a numeric ID)
SKU - the SKU of the product
If id and SKU are the same for your platform. Simply input the same values for both fields.
3. Verify that test data is coming in
When you have set up all your data values correctly, visit the checkout page or trigger an API call to our analytics. If you successfully sent data, it will appear in the third step of the conversion tracking box.
โ
โ
4. Add cookie information about Cevoid tracking
Add this cookie value and description to your cookie information banner to inform users about analytics tracking. The cookie type is HTTP and it expires in one year.
Service name: Cevoid
Company name: Cevoid AB
Cookie value: ca_session
Cookie description: Collects statistics from the visitor's interaction with Cevoid galleries on the website, such as post views, gallery views, post clicks, product clicks and statistics about order value after checkout.
Processing origin: Belgium
5. Press the purple "Enable" button
If everything is correctly setup, you are now collecting data! In case you don't see any data after a few days, please reach out to our support using the chat, and we'll gladly help you.