lerni/silverstripe-googleanalytics

Simple Google Analytics & Tag Manager Module for SilverStripe 4

Installs: 2 623

Dependents: 0

Suggesters: 1

Security: 0

Stars: 0

Watchers: 2

Forks: 1

Open Issues: 0

Type:silverstripe-vendormodule

0.1.1 2019-01-08 15:21 UTC

This package is auto-updated.

Last update: 2021-06-09 07:40:44 UTC


README

A module to add Google Analytics & Tag-Manager (just script version but not noscript iframe) Trackingcode per SiteConfig in CMS

Requirements

  • silverstripe/cms ^4
  • silverstripe/siteconfig ^4

Suggested

  • lerni/klaro-cookie-consent

Installation

Composer is the recommended way of installing Silverstripe modules.

composer require lerni/silverstripe-googleanalytics

Run dev/build

How to use

Set the Tracking IDs in yoursite.tld/admin/settings and you're set.

Hint

  • You don't need to setup a tag for page load - it's triggerd per script
  • Trackingcode is only shown in live-mode.
  • opt-out may use lerni/klaro-cookie-consent