Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

...

Warning

Google Analytics Plugin has moved to GITHUB: https://github.com/farcrycore/plugin-googleanalytics/

Tip
titleLatest Release Google Analytics 3.0.0 (as at 05-Mar-2013)

Latest milestone build: milestone-3-0-0

Certified for versions of 6.0.15+

Google Analytics Plugin

Excerpt

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

...

  • webtop overview integration
    • stats for individual pages 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

Gallery

Installation

Checkout from source control

...

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

Set Up Google API Profile

1)
  1. Set up a project in your Google API console
    1. under Services, enabled Analytics API
 
    1. under API Access, create a client ID (the redirect URI must be http://your.domain.com/webtop/admin/customadmin.cfm?plugin=googleanalytics&module=gapi_oauth.cfm)
2)
  1. In FarCry, create/edit your settings in Content -> Google Analytics -> Site Settings (I assume you've already updated app and deployed new schema changes :)
3)
  1. Copy in the clientID and secret
4) Authorize FarCry
  1. Authorise FarCry to access the your analytics data (there should be a link next to Refresh Token)

...

  1. Select your Account, Property, and Profile

...

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.

You must nominate a matching domain to activate GA tracking. Note this feature allows you to nominate different urchin codes for different domains or none at all. For example, you might not want to track stats at all from developer and staging server machines.

Make sure active is always on; this property is deprecated.

Ignore Types for now; its an advanced option that needs a bit of fleshing out. Crawl through the code if you must.

...

  1. .

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.