Skip to content

jinjie/silverstripe-ganalytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Analytics for SilverStripe

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

About

Google Analytics for SilverStripe

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages