You can find your ecommerce tracking code in your administration site under:
System Settings > Ecommerce Module > Tracking Code
You'll see the tracking code that you need to insert into your order confirmation page, similar to this:
E>" height="1" width="1" />
Notice that there are a couple variables that you need to pass into the tracking code when your confirmation page loads:
- Sale Total: 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.
- 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 multile times to cover each of the SKUs that were ordered. Here is an example of what that would look like.
KU2-SKU>&price=<SKU1-PRICE>&price=<SKU2-PRICE>" height="1" width="1" />
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. If you have any questions, feel free to contact Answebase Support