Implementation steps Last modified
GAMBIO TRADETRACKER CONVERSION IMPLEMENTATION

You can use the filter options above to select your shop system, the version of your shop. The Version info selection is a short description of the implementation method we created for the shop you selected.

Download the tradetracker.php file and upload it to the /includes/ folder, located in the root of your FTP account.

Locate checkout_success.php in the root of your account: /WEBROOT/checkout_success.php

Open the checkout_success.php file and within the code locate the following line:
[marker]$main_content = $smarty->fetch(CURRENT_TEMPLATE.'/module/checkout_success.html');[/marker]
Copy and paste the following code above the aforementioned highlighted line of code.

$tt_campaignID = '[marker]CAMPAIGN_ID[/marker]';
$tt_productID = '[marker]PRODUCT_ID[/marker]';
$tt_imageTag = include './includes/tradetracker.php';
$smarty->assign('tt_imageTag', $tt_imageTag);

Make sure to replace the campaignID and productID with the ID's you received from TradeTracker if they are not set in this example.

The result is as follows:
$tt_campaignID = '[marker]CAMPAIGN_ID[/marker]';
$tt_productID = '[marker]PRODUCT_ID[/marker]';
$tt_imageTag = include './includes/tradetracker.php';
$smarty->assign('tt_imageTag', $tt_imageTag);

[marker]$main_content = $smarty->fetch(CURRENT_TEMPLATE.'/module/checkout_success.html');[/marker]

LOCATE THE CHECKOUT SUCCESS HTML TEMPLATE
Locate the checkout_success.html file in the template folder you are using for your site. Normally the checkout_success.html template file is to be found in the following location:

/templates/{TEMPLATE_NAME}/module/checkout_success.html

IMPORTANT NOTICE It is important to use the template file of the actual template you are using for your site. If for example the template "EyeCandy" is used, the location of the checkout success file would be: /templates/EyeCandy/module/checkout_success.html

Copy and paste this piece of code at the bottom of the checkout_success.html template file:
<!-- TradeTracker conversion tracking start -->
{$tt_imageTag};
<!-- TradeTracker conversion tracking end -->

When done, upload or save the file to your server and overwrite the checkout_success.html file.

After these steps are performed, the campaign is ready to be tested. Make sure you use the TradeTracker Tracking Test URL before doing the test. If you don’t have the test URL, please ask your account manager to provide it to you.

Please keep in mind that although we do our very best to cover a wide variety of different implementations and web shop systems, programming languages and conversion registration methods for different situations, we want to state here that they are all merely examples and are not guaranteed to work for your specific situation or specific conversion or tracking needs. The reason for this is that the implementation descriptions provided are based on default system configurations and do not take system configuration settings, customisations and usage of plug-ins into account. Besides that there are also a lot of other variables that can have impact on the correct working of our tracking and conversion registration which we just can't know upfront. In case you do encounter or experience issues when implementing our tracking, please report this to your account manager and describe (in detail) the steps you took and if it's possible, provide the code and/or files you are using for your implementation to the account manager.
Shortlink to this article: https://sc.tradetracker.net/implementation/overview?f[id]=9
05-Dec-2014 09:23:16