Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Inserting trackingcode in shop


Guest

Recommended Posts

Posted

Hi,

 

I'm about to add a tracker on to a shop.

 

I got some lines of code from the company who got the tracker,

but here is three variables that is needed.

 

RANDOM_NUMBER should be replaced with random number or date+time stamp

ORDERID should be replaced with the unique ordernumber

ORDERVALUE should be replaced with the value of the order

 

I guess i have to put the in checkout_complete.php or so..

but what do i need to type?

 

Can anyone please help me?

 

 

Regards

Daniel

Posted

more details needed, u cant get help if u give only half the story.

 

what is the tracking code, is it javascript

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Posted
more details needed, u cant get help if u give only half the story.

 

what is the tracking code, is it javascript

 

That's true =)

 

Here is the script:

 

<!--

/*

*

* Conversion Tracker code

*

* If this tag is being served on a secure (SSL) page, you must make sure the URL below starts with https://

*

* To help prevent caching of this tracker, if possible,

* Replace %%RANDOM_NUMBER%% with a randomly generated number (or timestamp)

*

* In order for adX to track variables for this conversion,

* they must be provided by the client.

*

*

* The '%%VARIABLE_VALUE%%' should be replaced with the

* actual values for this sale.

*

*

* Place this code at the top of your thank-you page, just after the <body> tag.

*

*/-->

<div id="adx_tracker_193" style="position: absolute; left: 0px; top: 0px; visibility: hidden;"><img

src="http://trackercompany.com/conversion/?trackerID=123&cb=%%RANDOM_NUMBER%%&orderid=%%ORDERID%%&ordervalue

=%%ORDERVALUE%%" width="0" height="0" alt="" /></div>

Posted

Isn't there anyone helpful out there? =)

Posted

You may need a bit of custom coding to do what you want to do, if you want to do it on checkout_success.php

 

date("Uu") - random number, there's one bit of your puzzle

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...