The Sales tracking API works by embedding different tracking 1x1 pixel images (Targets) on your website at different strategic places.
Points where these targets would make sense is often at the end of a given transaction. That could be:
The targets can be configured through the Ubivox system by going to Statistics then Targets in the top menu.
If you are tracking sales, you might want to track the amounts in order to track the total sales or turnover generated by your newsletters.
Sales numbers can be added to the newsletters statistics by extending the normal image URL with these query string (GET) parameters:
Parameter | Description | Example |
---|---|---|
st_revenue | The revenue from the transaction | st_revenue=49.95 |
st_quantity | Items in the transaction | st_quantity=2 |
st_currency | Currency of the transaction | st_currency=USD |
st_reference | Transaction reference (unique) | st_reference=12345678 |
Important
Parameter notes
A full example could look like this:
<img src="https://example.clients.ubivox.com/target/<target_id>/?st_revenue=49.95&st_quantity=2&st_currency=USD&st_reference=12345678" height="1" width="1">