JoomlaXTC Google Analytics for Virtuemart
Installation guide for Joomla 1.5 systems
This module is the easiest way of enabling Google Analytics ecommerce tracking on your Joomla!/Virtuemart shop.
Current features are:
Selectable Google Analytics web property ID.
Selectable tracking of Virtuemart pages.
Selectable Userid tracking.
Optional Virtuemart transaction detail tracking for ecommerce purposes.
Can use up to two possible checkout goal pages.
Affiliation tag for Virtuemart transactions.
Use legacy urchin.js or new ga.js Google Analytics code.
Easy debug of your checkout process.
It is assumed you already have a valid Google Analytics account with a website profile defined, and your Virtuemart shop is up and running under Joomla! 1.5 system.
This is a standard Joomla! module, please install it using the Joomla! administration process to add modules.
Once installed, you must configure the module. Please take a look at the different parameters and change according to your needs:
When all parameters are set, click on the save icon at the top-right to save the parameter values and publish the module.
When in use, the module will report the page name where the user is located back to Google Analytics by default. When the user is in the Virtuemart component, a custom Virtuemart page name will be reported if its tracing is enabled.
In order to track the checkout process of Virtuemart in Google Analytics, you need to know what are the pages involved. As an example, this is the list of default Virtuemart pages as reported by the module:
Depending on your Virtuemart checkout configuration, some steps might not be required. In that case, you can turn on the "Debug" option, then perform a checkout yourself to find out what the page names are - as reported by the module. Once you have identified all steps required, the debug option can be turned off.
Apendix A: Creating a module position
Most Joomla! templates have a "Debug" module position at the bottom of the frontpage where you can locate this module. If this is not the case, or you want to use a special position for the module, please follow these instructions to add a new position (they might not apply if you have a custom template installed). In this example, the new position is named "vmga":
Go to your site's administration panel.
Navigate to the 'Extensions/Template Manager' menu.
Locate your current template and click on its name.
Click on "Edit HTML" button on top.
Locate the </body> tag at the bottom.
Change the line so it now looks exactly like this:
<jdoc:include type="modules" name="vmga" /></body>
Save your index.php to apply the changes.
Now that you have setup the new "vmga" module position, you can go to the GoogleAnalytics module properties page and select "vmga" as its module position.
This Module and Guide is copyright 2006,2007,2008,2009,2010 Monev Software LLC