04-09-2024 09:41 AM - edited 06-25-2024 08:39 AM
To measure the impact of the available programs and content, ContentCast supports order confirmation tracking. This tracking is accomplished by making one or more image requests to the reporting platform from your Order Confirmation or Checkout page. By implementing the tracking code, you will be able to:
Each request should represent a distinct product, its unit price, and quantity. Use multiple line item requests if you have several distinct product SKUs being purchased. If you have a single product being purchased with quantity greater than one, make one request and set the “quantity” parameter to the appropriate number.
<img src="https://ws.cs.1worldsync.com/log/t.gif?SKey=SKEYHERE&Et=viewcart&prodid=product123&mf=Test&prodtitle=Acme+Widget+-+SEO+Test&mfrpn=ACME32264&price=100.00&qty=3&orderId=9&curr=USD&total=1555.50&sessionId=DIJPqedm0HhPsDY-,CEPw3&ts=20170809134503" />
<img src="https://ws.cs.1worldsync.com/log/t.gif?SKey=SKEYHERE&Et=ordercomplete&prodid=ACME32264&mf=Test&prodtitle=&pn=ACME32264&price=100.00&qty=6&orderId=9&curr=USD&total=1555.50&sessionId=DIJPqedm0HhPsDY-,CEPw3&ts=20170809135045" />
If a user orders more than 1 product, you simply echo a unique image tag for each product.
Mfr |
Item |
Mfr Part # |
Qty |
---|---|---|---|
Acme |
Laptop 1 |
ACME123#ABA |
1 |
MegaMem |
1GB MEMORY SIMM |
M434413 |
2 |
<tr><td>Acme</td><td>Laptop 1</td><td>ACME123#ABA</td><td>1</td></tr> <img src="https://ws.cs.1worldsync.com/log/t.gif?SKey=SKEYHERE&Et=ordercomplete&prodid=ACME32264&mf=Acme&prodtitle=&pn=ACME32264&price=100.00&qty=1&orderId=9&curr=USD&total=1555.50&sessionId=DIJPqedm0HhPsDY-,CEPw3&ts=20170809135045" /> <tr><td>MegaMem</td><td>1GB MEMORY SIMM</td><td>M434413</td><td>2</td></tr> <img src="https://ws.cs.1worldsync.com/log/t.gif?SKey=SKEYHERE&Et=ordercomplete&prodid=M434413&mf=MegaMem&prodtitle=1GB+MEMORY+SIMM&pn=M434413&price=100.00&qty=2&orderId=9&curr=USD&total=1555.50&sessionId=DIJPqedm0HhPsDY-,CEPw3&ts=20170809135045" />
Parameter |
Description |
---|---|
SKey |
CS Customer Subscriber ID as provided in the Product Page code. |
Et |
Specifies the type of events (viewcart, orderreview,ordercomplete) |
sessionId |
unique session id which doesnt contain any confidential customer info |
euid |
Your shopper or end-users customer id is suggested if you do not have a sessionId and need to the report data back to your internal customer database |
cdsId |
DataSource product id. Required ONLY if missing Manufacturer and Manufacturer Part Number. |
mf |
Manufacturer Name of the product. Required along with “pn” if you are not able to pass cdsId. Must be URL encoded. |
pn |
Manufacturer Part Number. Required along with “mf” if you are not able to pass cdsId. Must be URL encoded. |
cpn |
Internal Product ID of product ordered. |
upcean | upcean = UPC or EAN of the product being purchased. |
price |
Unit Sell price of the product. |
qty |
Product order quantity. |
orderId |
The sales order ID |
Market |
two letter country code of the website. GB, US, CA, etc |
Locale | full locale: EN-GBR |
ts |
Timestamp used to avoid web-server caching. Supports multiple formats. |
total |
The total order cost for all of the items in the order, including taxes, shipping charges, coupons and discounts. |
subtotal |
The total cost for all of the items in the order including coupons and discounts but excluding taxes and shipping charges. |
curr | Currency of the price. USD, CAD, GBP. See http://www.xe.com/iso4217.php for list |
billing-city |
The city associated with the order’s billing address. |
billing-region |
state associated with the order’s billing address. |
billing-postal-code |
The zip code associated with the order’s billing address. |
billing-country-code |
The two-letter ISO 3166 country code associated with the order’s billing address. |
shipping-city |
The city associated with the order’s shipping address. |
shipping-region |
The U.S. state associated with the order’s shipping address. |
shipping-postal-code |
The five-digit U.S. zip code associated with the order’s shipping address. |
shipping-country-code |
The two-letter ISO 3166 country code associated with the order’s shipping address. |