Sha256: 384327e357810fad0bfd2c740a99a693ac162f81634b35fdbff87951ca900877

Contents?: true

Size: 659 Bytes

Versions: 10

Compression:

Stored size: 659 Bytes

Contents

GoogleAnalytics
===============

This is a quick 'n' dirty module to easily enable Google Analytics support
in your application.  By default it'll output the analytics code for every
single page automatically, if it's configured correctly.  This is done by
adding:

    Rubaidh::GoogleAnalytics.tracker_id = 'UA-12345-67'

to your `config/environment.rb`, inserting your own tracker id. This can be
discovered by looking at the value assigned to +_uacct+ in the Javascript
code.

If you want to disable the code insertion for particular pages, add the following to controllers that don't want it:

    skip_after_filter :add_google_analytics_code

Simple. :-)

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
parlement-0.10 vendor/plugins/google_analytics/README
parlement-0.11 vendor/plugins/google_analytics/README
parlement-0.12 vendor/plugins/google_analytics/README
parlement-0.13 vendor/plugins/google_analytics/README
parlement-0.14 vendor/plugins/google_analytics/README
parlement-0.17 vendor/plugins/google_analytics/README
parlement-0.6 vendor/plugins/google_analytics/README
parlement-0.7 vendor/plugins/google_analytics/README
parlement-0.8 vendor/plugins/google_analytics/README
parlement-0.9 vendor/plugins/google_analytics/README