X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Help Adding Tracking Pixel for ShopAtHome Network (https://forum.x-cart.com/showthread.php?t=34933)

reachforlife 10-26-2007 08:35 AM

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.

balinor 10-26-2007 09:39 AM

Re: Help Adding Tracking Pixel for ShopAtHome Network
 
Moving to Template Editing, as this does not have to do with the X-Cart Add-On modules.


All times are GMT -8. The time now is 08:54 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.