xt:Commerce is an online shop software with integrated management of goods and many extension possibilities.
For the transmission of your offers there is a third party plugin available for a fee.
To the billiger.de export plugin for xt:Commerce
We are happy to refund the cost of the plugin via an individual click credit. Please contact us for an offer.
Integration of landingpage tracking:
i. Edit the file "ROOT/xtCore/pages/product.php"
ii. Copy this code snippet at the end:
if (strpos($_SERVER['REQUEST_URI'], "soluteclid") != '' and strpos(strtolower($_SERVER['HTTP_USER_AGENT']), "bot") == ''){
if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on'){
$landing = 'https://';
} else {
$landing = 'http://';
}
$landing .= $_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
$_SESSION['soluteclid'] = time()." ".$landing;
$url = "https://cmodul.solutenetwork.com/landing";
$url .= "?url=".urlencode($landing);
$curlCon = curl_init();
curl_setopt($curlCon, CURLOPT_URL, $url);
curl_setopt($curlCon, CURLOPT_RETURNTRANSFER, 1);
curl_exec($curlCon);
curl_close($curlCon);
}
Integration of conversion tracking:
i.Edit the file "ROOT/xtCore/pages/page_action/checkout_success.php"
ii. Copy this code snippet at the end:
if (isset($_SESSION['soluteclid'])){
$ttl = 60*60*24*30;
$session = $_SESSION['soluteclid'];
$soluteclid = explode(" ", $session);
if ((int)$soluteclid[0] + $ttl > time()){
$url = 'https://cmodul.solutenetwork.com/conversion';
$url .= '?val='.urlencode($success_order->order_total['product_total_otax']['plain']);
$url .= '&oid='.urlencode($success_order_id);
$url .= '&factor=1';
$url .= '&url='.urlencode($soluteclid[1]);
$url .= '&ctsystem=xtCommerce6';
$curlCon = curl_init();
curl_setopt($curlCon, CURLOPT_URL, $url);
curl_setopt($curlCon, CURLOPT_RETURNTRANSFER, 1);
curl_exec($curlCon);
curl_close($curlCon);
}
}
Attention: Conversion tracking does not work without landingpage tracking.
Our Technical Shop Support will be happy to help you.
Tel: +49 721-98993-60
(For direct dialling, select "1" in the voice menu and then "2".)