Provides a bridge to expose a service for the Google Analytics Measurement Protocol Library
from the team atThe Iconic. Currently, this is a module for developers
only. Please see the library instructions for instructions on using the Measurement
Protocol. The service is available with \Drupal::service('gamp')
.
Copyright (C) 2017 Chris Rockwell (@chrisrockwell)
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- Install module as per standard procedure.
- This module has composer dependencies, see instructions for information on how to resolve these dependencies.
- Visit /admin/config/services/ga_measurement_protocol and enter your Universal Analytics Tracking ID
#Similar Modules There are modules that partially implement the Measurement Protocol; however, the Google Analytics Measurement Protocol fully supports all event types, this module simply provides the bridge.
- https://www.drupal.org/sandbox/nvahalik/2189881; Sandbox; 7.x only; appears to only support the Event type.
- https://www.drupal.org/project/ga_push; Requires google_analytics; currently doesn't support all types.
- https://www.drupal.org/project/commerce_google_analytics; requires google_analytics and ga_push; only supports eCommerce type