I have Trade tracker code which I want to add in the Tracking part. So if a status is changing to "Confirmed" I want to trigger this TradeTracker code.
But it is unclear what kind of code is allowed.
I have php code but that doesn't seem to work. When I finish a checkout the code is shown at to top of the screen, instead of executing this code. Any ideas?
So this is a piece of the code:
<?php
$lang = JFactory::getLanguage();
$language_tag = $lang->getTag();
/** Begin TradeTracker Virtuemart code **/
if ($language_tag == "de-DE") {
$tt_campaignID = '1234';
$tt_productID = '12345';
$tt_trackingGroupID = '';
$tt_scriptTag = include_once ('tradetracker.php');
echo $tt_scriptTag;