Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Help Adding Tracking Pixel for ShopAtHome Network

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-26-2007, 08:35 AM
  reachforlife's Avatar 
reachforlife reachforlife is offline
 

Member
  
Join Date: Apr 2007
Posts: 26
 

Default 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.
__________________
Reach For Life
www.reachforlife.com
X-Cart Version # 4.1.6
Fashion Mosiac Skin
Reply With Quote
  #2  
Old 10-26-2007, 09:39 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 04:11 AM.

   

 
X-Cart forums © 2001-2020