DEPRECATED - Reference Documentation for Older Version of Conversion Tracking Script
Old Tracking Script - You Need to Update to the New Conversion Tracking Script if You're Still Using The Older Version
Answerbase previously supported a tracking pixel which will still work for awhile but needs to be updated with the New Conversion Tracking Script.
For reference for customers who still have the older tracking pixel installed so they can understand their parameters and how to translate to the new tracking script, here was the previous documentation on how that script was implemented. The script looked similar to this:
<img src=".../api/v2/tracking/conversion?sale_total=<AMOUNT>&email=<EMAIL>&sku=<SKU>&price=<PRIC
E>" height="1" width="1" /> For historical references, here are the details related to that script.
Notice that there are a couple variables that you need to pass into the tracking code when your confirmation page loads:
As mentioned in the above bullet points, if multiple products are associated with an order you can add the parameters multiple times to cover each of the SKUs that were ordered. Here is an example of what that would look like.
<img src=".../api/v2/tracking/conversion?sale_total=<AMOUNT>&email=<EMAIL>&sku=<SKU1-SKU>&sku=<S
KU2-SKU>&price=<SKU1-PRICE>&price=<SKU2-PRICE>" height="1" width="1" />
NOTE: You need to make sure that all the required parameters are filled out, but if you are not going to use some parameters then they should not be defined at all within the script.
You should test an order and view the source code of your confirmation page, to ensure that the parameters have been passed in the Answerbase tracking script appropriately. Our goal is to ensure that Answerbase is giving you a very healthy return on investment so you should see that in your conversion reports. If you're not seeing results that you'd like to see, please contact Answerbase Support and we can look to assist you in order to ensure you've configured your Answerbase to see the results you're looking for.
Answerbase previously supported a tracking pixel which will still work for awhile but needs to be updated with the New Conversion Tracking Script.
For reference for customers who still have the older tracking pixel installed so they can understand their parameters and how to translate to the new tracking script, here was the previous documentation on how that script was implemented. The script looked similar to this:
<img src=".../api/v2/tracking/conversion?sale_total=<AMOUNT>&email=<EMAIL>&sku=<SKU>&price=<PRIC
E>" height="1" width="1" /> For historical references, here are the details related to that script.
Notice that there are a couple variables that you need to pass into the tracking code when your confirmation page loads:
- Sale Total (Required): Replace the <AMOUNT> value with the total currency value of the sale that was just submitted.
- Email: Replace the <EMAIL> with the email of the user who just placed the order .
- Sku: Replace the <SKU> value with the sku (or skus) that were part of the order. If there was more than one Sku, you can add additional Sku values by adding the parameter a second time with the second Sku value.
- Product ID: Replace the <ID> value with the unique ID that your platform has identified for the product. If there was more than one ID, you can add additional ID values by adding the parameter a second time with the second ID value.
- Price: Replace the <PRICE> value with the prices of the Sku (or skus) that were part of the order. If more than one Sku was ordered, you can add additional Sku price values by adding the "Price" parameter a second time with the second Sku price value, just make sure that the price parameters are in the same order as the skus represented in the "SKU" parameter noted above.
As mentioned in the above bullet points, if multiple products are associated with an order you can add the parameters multiple times to cover each of the SKUs that were ordered. Here is an example of what that would look like.
<img src=".../api/v2/tracking/conversion?sale_total=<AMOUNT>&email=<EMAIL>&sku=<SKU1-SKU>&sku=<S
KU2-SKU>&price=<SKU1-PRICE>&price=<SKU2-PRICE>" height="1" width="1" />
NOTE: You need to make sure that all the required parameters are filled out, but if you are not going to use some parameters then they should not be defined at all within the script.
You should test an order and view the source code of your confirmation page, to ensure that the parameters have been passed in the Answerbase tracking script appropriately. Our goal is to ensure that Answerbase is giving you a very healthy return on investment so you should see that in your conversion reports. If you're not seeing results that you'd like to see, please contact Answerbase Support and we can look to assist you in order to ensure you've configured your Answerbase to see the results you're looking for.