Recommended releases

Download Released

Adds a Google Analytics JavaScript tracking code to every page.

Requirements

  • Google Analytics user account

Installation

  • Install this module using the official Backdrop CMS instructions at
    https://backdropcms.org/guide/modules

  • Visit the configuration page under Administration > Configuration > System >
    Google Analytics (admin/config/system/googleanalytics) and enter your Google
    Analytics account number.

  • All pages will now have the required JavaScript added to the HTML footer and
    you can confirm this by viewing the page source from your browser.

Advanced Settings

You can include additional JavaScript snippets in the custom javascript code
text area. These can be found on the official Google Analytics pages and a few
examples at http://drupal.org/node/248699. Support is not provided for any
customizations you include.

To speed up page loading you may also cache the Google Analytics "analytics.js"
file locally.

Manual JS debugging

For manual debugging of the JS code you are able to create a test node. This
is the example HTML code for this test node. You need to enable debugging mode
in your Backdrop configuration of Google Analytics settings to see verbose
messages in your browsers JS console.

Title: Google Analytics test page

Body:

Text format: Full HTML

Current Maintainers

Credits

License

This project is GPL v2 software. See the LICENSE.txt file in this directory for
complete text.