Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Google Analytics Plugin

Tip
titleLatest Release Google Analytics 23.0.0 (as at 2105-NovMar-20112013)

Latest milestone build: milestone-23-0-0

222

Certified for versions of 6.0.15+

Excerpt

Provides close integration for FarCry projects with the Google Analytics service v3.0 API

Features include:

  • webtop overview integration; showing
    • stats for individual pages
    directly in the webtop
    • or content items
    • stats for site tree branches or sections
  • inline line charts and dot graphs for 7, 30, 90 and 356 day periods
  • support for downloads and external link reporting
  • a framework for tracking Google custom variables
  • popular content publishing rule

Screengrabs

...



Installation

Checkout from source control

Code Block
svn checkout https://farcry.jira.com/svn/GA/trunk
to
./farcry/plugins/googleAnalytics

...

Copy the "www" folder to a "googleanalytics" folder under your project's webroot or create a web server alias (virtual directory on IIS) as "/googleanalytics" pointed at the plugin's www folder.

Update project constructor

Add googleAnalytics to the plugin list within ./www/farcryConstructor.cfm

Code Block
title./www/farcryConstructor.cfm
<!---// set plugin list--->
<cfset THIS.plugins = "farcrycms,googleMaps,googleAnalytics,farcrydoc" />

Deploy content types

Go into the webtop ADMIN > DEVELOPER TOOLS and deploy all the plugin content types.

Update Google Analytics configuration file

You will need to update the plugins configuration to include your projects specific Google Analytics URCHIN code. This is found under the Content administration tab, in the Google Analytics dropdown.

...

The username and password for the GA API is entirely optional. It is used to pull statistics into the application on demand from Goolge. You require the GA login credentials in order to see stats in the GA webtop overview tab, or to use the "most popular" content publishing rule.

What else?

That's literally it. If GA Plugin detects that you are serving a page from one of the configured domains, it will automatically include the correct urchin code for your domain in the HEAD of your document.