Instructions - Virtuemart Tracking for Analytics for Joomla 3 and Vm 3

How to install Virtuemart Tracking for Google Analytics in Joomla 3 and Vm 3

First of all: install the viruemart tracking extension. Go to the extension manager, select the file, and install. Then go to the plugin manager, and publish it.

Note: the extension (obviously) needs the "allow_url_fopen=1" (or allow_url_fopen="On") in your server/hosting php.ini. Check it on your system (by the php info on joomla administration) or simply turn it on (or write to your hoster to do for you).

 

Open the plugin configuration.

At that time is good to have your google analytics in a new browser window: you have to copy/paste ...so it's usefull.

Create a new Analytics account, or - in case you have an existing one, go in the Analytics administration as shown below and select tracking info -> tracking code

 



 

Now copy from Analytics (image on the left) the UA-XXXXX-X and then the entire tracking code and paste them into the plugin configuration (plugin image on the right)

In this way the extension tracks (obviously!) the "normal" joomla traffic on your website. You need anything else.

 

It is so simple! This "copy/paste" method works on all the variations of Analytics tracking codes: it will always work!

From the plugin configuration you can decide when the e.commerce transaction should be tracked. We suggest to not use "pending" for tracking, because you can track "pending" orders also by using goals, as will be described below.

IMPORTANT NOTE: Virtuemart has introducted the "confirmed by shopper" order status. When a payment method switch an order to "confirmed by shopper", it is assumed that it is "payed" and so - for the plugin point of view, it has to be tracked as it was confirmed. This can happen with a "pay to the courier" method, for example. If you manually switch from "confirmed by shopper" to "confirmed" it won't track it twice!

You can select the option to "delete" a tracked transaction (it will track the same value for the same order number with a negative value) in case of refunding orders.

Finally, choose if you need to track only the order or the whole orders with items purchased (default option)

 

Now, check in the Google Analytics if e.commerce tracking is enabled!

Go in the analytics administration and click on Ecommerce Settings

 

 

When you receive an order:

1) it's confirmed by a IPN payment notification (as Paypal, etc), or by a "confirmed by the shopper" status order, or by a manual switching from pending to confirmed order status and the plugin is set to track on "confirmed"

or

2) the order is switch from whatever to "shipped" and the plugin is set to track on "shipped" order status

it will be track an you will see something like this:

 

How to setup goals in Google Analytics and use with Virtuemart

 

There are two usefull events that the plugin is able to track. Others will come in the future.

The main is the "onUserOrder" event. Virtuemart fires this event when a user press "confirm order" - BEFORE paying. This is VERY usefull to track how many customers are lost in the payment prochedure (expecially when going to Paypal or other systems)

The other event is the new users registrations. Both registering by Joomla than by Virtuemart, the plugin will track them on Google Analytics Goal. It is fired when a new registration is activated according to joomla configuration (automatic, with catchpa, via email or by admin)

Enable on the plugin configuration the goals you want, and then setup it on analytics as described below.

 

How to configure Analytics to track the events

Go in the Analytics configuration, and click on Goals

 

 

Click on "New Goal" to create one.

 

 

Now choose "Custom" goal as shown in figure.

 

 

Now choose "Event" as shown in figure. Give it the name you want - it's only the label to find it then in the reports.

 

 

Now, in the 3rd step, use "onUserOrder" or "onUserRegistration" (based on what you want to track) - in the Action field as shown in the figure below.

Here it's important to use one of this two labels (one per goal, not both togheter!) exactly how written - and to put them on the action field.

 

 

And here you are, when you will receive "confirmed orders" or "new user registrations" something like this will appear on Google Analytics, under "Goals" report.

 

 

Very simple! This is the reason for this extension is a best-selling. Easy, and it tracks very well.

Thanks for purchasing!