This project is not covered by Drupal’s security advisory policy.
The module injects any Javascript code right after the _gaq.push(["_setAccount", "UA-XXXXXXX-X"]) call. This module is not a submodule of Google Analytics, but can extend it.
It can be used for adding any custom GA tags, like _gaq.push(["_setPageGroup"...]);
The module does not provide any UI, it only fires the hook.
Requirements
- JS Alter module.
- Tracking code is added with
drupal_add_js(..., 'inline', ...)call. - Google Analytics module is optional since the condition above is true.
Usage
Implement hook_google_analytics_inject() in your custom module. The function should return any additional GA code, like _gaq.push(["_setPageGroup"...]);
Development is sponsored by SmartWolverine.net. The maintainer is always available for paid customizations and consultations.
Project information
- Project categories: Developer tools, Search engine optimization (SEO), Integrations
- Created by d.novikov on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
