Help Adding Tracking Pixel for ShopAtHome Network
Can anyone give me guidance in the following area:
We joined the Shop At Home network and they are requesting we place a tracking pixel on our confirmation/thank you page as follows:
<IMG SRC="https://shopathome.directtrack.com/i_sale/shopathome/1/LINE_ITEM_STRING/TRANSACTION_ID/OPTIONAL_INFORMATION">
where: LINE_ITEM_STRING passes the sales amount, TRANSACTION_ID passes the Order ID for the sale and OPTIONAL_INFORMATION passes the ShopAtHome Customer ID (SAHCID) - When a customer clicks through a link from ShopAtHome to our site, ShopAtHome will append "&SAHCID=" to the end of the link. The alpha-numeric value that follows must be captured and dynamically fed into this field in the pixel when a sales transaction is complete.
I've been able to get the Sales amount and Order ID to pass, however I cannot figure out the SAHCID part.
Here's what I've done so far that works:
skin1/customer/main/order_message.tpl
I added the following:
<img src="https://affiliates.shopathome.com/i_track_sale/MID/{$order.total}/{$orderids}/&SAHCID=">
I would appreciate any help with getting this to work. Thanks in advance.
|