Versions Compared

Key

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

Google Analytics Plugin

...

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.