jinjie/ganalytics

Google Analytics for SilverStripe

Installs: 227

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:silverstripe-vendormodule

v1.0.1 2018-10-02 09:01 UTC

This package is auto-updated.

Last update: 2024-11-29 05:26:57 UTC


README

A very simple way of adding Google Analytics code with just using yml configuration

Requirements

SilverStripe 4.1

Installation

composer require jinjie/ganalytics

Usage

Add the following in mysite.yml (replace tracking_id) to your own:

SwiftDevLabs\GoogleAnalytics\Extensions\ContentControllerExtension:
  tracking_id: XX-12345678-9