How to set up OPC tracking for Adwords

Please post your issues and questions about One Page Checkout for Virtuemart 2 to this forum.

How to set up OPC tracking for Adwords

Postby admin » Fri Mar 07, 2014 2:34 pm

First of all you need to enable the tracking feature here:

Image

(the opctracking is a core extension that is automatically installed once you check the "enable this feature" checkbox above)

the adwords code is already rendered by opc core files once you fill the details into:
Image

it is then printed AFTER the order status changes to the required status set here (example for tesing within the pending status which is default for all orders):
Image

(adwords.php must be enabled for this code to show up within the html code of the page where the customer lands after the status change)

IF THE STATUS CHANGES LATER THEN HE RETURNS (LET'S SAY FROM PPL) THE CODE WILL BE PRINTED AT THE NEXT VISIT THE CUSTOMER DOES TO YOUR SITE (UP TO 1 MONTH FROM THE STATUS CHANGE) - A COOKIE IS USED FOR THIS.

For production site you only want to enable the adwords code per your confirmed status like here:
Image

Where the code
<script>alert('confirmed order: {bt_virtuemart_order_id}');</script>

shown at the images above is used just for my own debuggin to see that the tracking feature works - if you want to check if the code is properly rendered, you may want to add this for your either pending/confirmed pages.


We are working on opc extensions section (2.0.230) as we want to add another 10 of our extensions there, but it's not fully implemented there as we are looking for a better way how to install extensions directly from our extension without using the joomla installer manually.

best regards,
stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Return to One Page Checkout for Virtuemart 2