Integration For Interspire

Step 1.

1. Open the file includes/classes/class.order.php
2. In the open file, locate the following line:

// Show the order confirmation screen
$GLOBALS[‘ISC_CLASS_TEMPLATE’]->SetPageTitle(GetLang(‘ThanksForYourOrder’));
$GLOBALS[‘ISC_CLASS_TEMPLATE’]->SetTemplate(“order”);
$GLOBALS[‘ISC_CLASS_TEMPLATE’]->ParseTemplate();

3. Insert before it:

//FeedPlatform Conversion Tracking Code $order_products_ids = ”; if (isset($GLOBALS[‘ISC_CLASS_CART’]) && $GLOBALS[‘ISC_CLASS_CART’] instanceof ISC_CART) { $items = $GLOBALS[‘ISC_CLASS_CART’]->api->GetProductsInCart(); foreach ($items as $item) { $order_products_ids .= $item[‘product_id’] . ‘|’; } $order_products_ids = substr($order_products_ids, 0, -1); } $GLOBALS[‘FEEDPLATFORM_CONVERSION_TRACKING_CODE’] = ”; foreach ($this->pendingData[‘orders’] as $pending_order) { $GLOBALS[‘FEEDPLATFORM_CONVERSION_TRACKING_CODE’] .= ‘<img src=”http://track.feedplatform.com/conversion/<ACCOUNT_ID>/?products_ids=’ . $order_products_ids . ‘&order_total=’ . $pending_order[‘ordtotalamount’] . ‘&order_id=’ . $pending_order[‘orderid’] . ‘” />’; } //FeedPlatform Conversion Tracking Code

4. Save and close the file.

Important: Please replace <ACCOUNT_ID> with actual Account ID. You can find Account ID at Edit Campaign -> Traffic Tracking -> Conversion Tracking.

Step 2.

1. Open the file templates/__master/order.html or templates/[your_active_skin_directory]/order.html (if exist)
2. In the open file, locate the following line:

<body>

3. Insert after it:

%%GLOBAL_FEEDPLATFORM_CONVERSION_TRACKING_CODE%%

4. Save and close the file.

Scroll to Top