Zen Cart Logo
Forums / General Questions / Where do I paste the tracking code and what to fill in for the variables?

Where do I paste the tracking code and what to fill in for the variables?

Views: 792

Results 1 to 4 of 4
6 Jul 2012, 4:23 PM
#1
dennisysh avatar

dennisysh

New Zenner

Join Date:
Apr 2010
Posts:
11
Plugin Contributions:
0

Where do I paste the tracking code and what to fill in for the variables?

Recently I am joining an affilate program as a merchant which will track orders from my affiliates and then I can pay them accordingly.
I have to paste the following code into the thank you page.

<img src='https://www.tagserve.sg/saleServlet?MID=78&PID=80&CRID=<input customer Id!>&ORDERID=<input orderId!>&ORDERAMNT=<input order amount!>&NUMOFITEMS=<input number of items!>&SUBID=<input merchant specific value!>' border='0' width='1' height='1'>

My question is, where is the thank you page located in my hosting?

And I have to modify the tracking code by filling up the variables (defined in zencart template) in < > like <input customer Id!>, <input orderId!>, <input order amount!>, <input number of items!> and <input merchant specific value!>. I am not sure what to fill in. Can anyone help me on this?

Details of the variables:
Customer ID <input customer Id!>
This is an optional value and is used to track your customer reference or account number. If you do not require this information then simply replace the <input customer Id!> with “1” (minus the quotation marks). Example: CRID=#customer_id

Order ID <input orderId!>
This will be the unique ID that is assigned to each of your orders. Example: ORDERID=#order_id

Order amount <input order amount!>
This is the total sales value of the order placed – this is mandatory if your program is running on a % commission basis.
Note: You may want to exclude shipping/postage costs from the order amount. Example: ORDERAMNT=$order_amount

Number of items <input number of items!>
The total number of items purchased. Example: NUMOFITEMS=#quantity

SUB ID <input merchant specific value!> This value needs to reflect the payment type that is used to complete a transaction i.e Mastercard, Visa, PayPal etc.
Example: SUBID=$payment_type

6 Jul 2012, 4:34 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Where do I paste the tracking code and what to fill in for the variables?

This needs to be coded properly, and you might get some joy by following the method used by JROX

http://jam.jrox.com/docs/index.php?article=111

11 Jul 2012, 2:10 PM
#3
dennisysh avatar

dennisysh

New Zenner

Join Date:
Apr 2010
Posts:
11
Plugin Contributions:
0

Re: Where do I paste the tracking code and what to fill in for the variables?

May I know where is the location of the thankyou page?

12 Jul 2012, 6:16 AM
#4
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,780
Plugin Contributions:
2

Re: Where do I paste the tracking code and what to fill in for the variables?

dennisysh:

May I know where is the location of the thankyou page?

Follow Schoolboy's link above all the info is there. Your question is answered in point number 4.