View Single Post
Old 12-01-2011, 12:59 PM
Maya's Avatar
Maya Maya is offline
Ecwid Team
Join Date: Feb 2010
Location: Ecwid headquarter
Posts: 5,876

First of all, i would like to inform you, that Ecwid team already working on the affiliate tracking feature. It will allow you to easily integrate your affiliate program code to the Order Confirmation page. This feature will be available in new v10.2 Ecwid version.

If you need to add tracking pixel to your site right now, you can do this by adding following javacsript code to your 'Store' page:
<script type="text/javascript">
Ecwid.OnPageLoaded.add(function(page) {
 if (page.type === 'ORDER_CONFIRMATION') {
    (function() {
     var image;
     image = window.document.createElement('img');
     img.src = "";  // enter your real tracking pixel URL here
You need to change "" with your tracking pixel URL in this script. This code will allow you to track the fact of placing the order, but not order details. In case if you need to track the order total and exact items, this code will need a serious changes in it. So, I recommend you just to wait for our new release, which is around the corner.
Maya N., Ecwid Team

Welcome to our new Help Center!