Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 435 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 435 Bytes

Requirements

silverstripe/cms: 3.1+

Installation

composer require michaeljjames/silverstripe-google-analytics dev-master

Usage

  • Once installed the files are in the root of your website run a dev/build
  • You will now see Two new fields in Settings/Analytics
  • Place your Tracking ID into the correct field and check the enable track checkbox
  • Place $SiteConfig.Analytics into Page.ss just before the closing head tag