lerni/silverstripe-googleanalytics

Simple Google Analytics & Tag Manager Module for SilverStripe 4

Installs: 4 773

Dependents: 0

Suggesters: 1

Security: 0

Stars: 1

Watchers: 4

Forks: 1

Open Issues: 0

Type:silverstripe-vendormodule

0.1.1 2019-01-08 15:21 UTC

This package is auto-updated.

Last update: 2024-04-25 22:32:42 UTC


README

A module to add Google Analytics (UA, v4) & Tag-Manager (just script version but not noscript iframe) & Clarity 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

This module allows XML files to be uploaded into assets.

How to use

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

Hint

  • Trackingcodes are only shown in live-mode.
  • opt-out may use lerni/klaro-cookie-consent