Gambio is the flexible shop software with which more than 20,000 companies already successfully operate their web shops.
Gambio offers an adjustable export function for the transmission of your offers.
Our technical shop support will be happy to assist you with the setup if required.
Integration of landingpage tracking:
1. Edit the file "ROOT/product_info.php".
2. Copy this code snippet into it:
if (strpos($_SERVER['REQUEST_URI'], "soluteclid")>0){
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:
The overload (ConversionTrackingCheckoutSuccessExtender.inc.php) must to be stored under "ROOT/system/overloads/CheckoutSuccessExtenderComponent/" and the cache for module information must be cleared under "Tools>Cache".
<?php
class BilligerTrackingCheckoutSuccessExtender extends BilligerTrackingCheckoutSuccessExtender_parent
{
function proceed()
{
parent::proceed();
$orderId = new IdType($this->v_data_array['orders_id']);
$this->html_output_array[] = $this->createPixel($orderId);
}
private function createPixel(IdType $orderId)
{
$orderReadService = StaticGXCoreLoader::getService('OrderRead');
$order = $orderReadService->getOrderById($orderId);
$ordervalue_query = xtc_db_query("select sum((final_price/(products_tax/100+1))) as value from ".TABLE_ORDERS_PRODUCTS." where orders_id = '".$orderId."'");
$orderVal = xtc_db_fetch_array($ordervalue_query);
$totalNetto = floatval($orderVal['value']);
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($totalNetto);
$url .= '&oid='.urlencode($order->getOrderId());
$url .= '&factor=1';
$url .= '&url='.urlencode($soluteclid[1]);
$url .= '&ctsystem=Gambio';
$curlCon = curl_init();
curl_setopt($curlCon, CURLOPT_URL, $url);
curl_setopt($curlCon, CURLOPT_RETURNTRANSFER, 1);
curl_exec($curlCon);
curl_close($curlCon);
}
}
}
}
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".)