Page 1 of 1

Zanox - Conversion Tracking

PostPosted: Wed Oct 22, 2014 3:17 pm
by sly70
Good morning,

I was checking the tracking plugin table in the database and i noticed something strange.

On our e-commerce is possible to place orders without being registered so we can have dozens of customers with the same id (0 in our case for virtuemart anonimous customers) in this case even with cookies does the plugin send the correct informations to the tracking service? (Zanox in our case)

We don't want to be banished by the tracking service is there a way to manually trigger the tracking code for anonimous orders?

In order to have cookies working correctly isn't it better suitable to have the tracking code sent when order is pending? This way the customer trigger immediately the code once he get the thank you page.

Thank you very much for your attention.

Best regards.


SLY70

Re: Zanox - Conversion Tracking

PostPosted: Wed Oct 22, 2014 8:32 pm
by admin
hello, maybe something else can be used instead of the user_id

the opc's code to render zanox looks like this:
Code: Select all

<script type="text/javascript" src="<?php echo $this->params->zanox_url; ?>&mode=<?php echo $this->params->mode; ?>&CustomerID=<?php echo $this->order['details']['bt']->virtuemart_user_id; ?>&OrderID=<?php echo $this->order['details']['BT']->virtuemart_order_id; ?>&CurrencySymbol=<?php echo $this->order['details']['BT']->currency_code_3; ?>&TotalPrice=<?php echo number_format($this->order['details']['BT']->order_total, 2, '.', ''); ?>&PartnerID=<?php echo $this->params->partner_id; ?>"></script>
<noscript>
<img src="<?php echo $this->params->zanox_url; ?>&mode=2&CustomerID=<?php echo $this->order['details']['bt']->virtuemart_user_id; ?>&OrderID=<?php echo $this->order['details']['BT']->virtuemart_order_id; ?>&CurrencySymbol=<?php echo $this->order['details']['BT']->currency_code_3; ?>&TotalPrice=<?php echo number_format($this->order['details']['BT']->order_total, 2, '.', ''); ?>&PartnerID=<?php echo $this->params->partner_id; ?>" width="1" height="1" />
</noscript>



i do not suggest to run it for pending status as it may not get loaded at all if the payment does a redirect (too few time for it).

best regards, stan