The latest version of this extensions is available from extensions.pivotx: http://extensions.pivotx.net/entry/14/googleanalytics
------------------------------------------------------------------------------------------------------------------------
Extension Name: Google Analytics
Extension Author: Wim Bekkers / Bob den Otter
Download Location: see attachment
Extension Description
- Add the Google Analytics code to your PivotX pages with full control over tracking code customization.
As a pre-requisite you need a Google Analytics account (of course!). In the extension configuration page within the PivotX dashboard you need to enter your UA code (looks like UA-xxxxxx-x) and you are ready to go.
If you want to get the most out of your Google Analytics, then you may want to use the Advanced Customization options that are available. These allow you to track subdomains within one profile, setup your custom campaigns, change the session timeout limit, and use Google Analytics in combination with Urchin. All these settings can be managed from the extension configuration page.
Installation
- Step 1: Unpack the attached zip file in the pivotx/extensions/ directory on your server
Step 2: in the PivotX admin menu go to the Extensions section and enable the googleanalytics hook extension
Step 3: enter your UA code in the Extensions -> Configure Extensions -> googleanalytics section of the PivotX dashboard. Ignore all the other advance settings unless you know what you are doing!
As always: please provide feedback here in the forum!
Version 1.7.2 is now the latest version. Contains 2 new options: setting the path variable for the cookies and switching off display of stats in the dashboard. The latter doesn't work any more because the new API has not been incorporated yet. Anyone who wants to do that please feel free.