Download the PHP package springtimesoft/silverstripe-tracking-scripts without Composer
On this page you can find all versions of the php package springtimesoft/silverstripe-tracking-scripts. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download springtimesoft/silverstripe-tracking-scripts
More information about springtimesoft/silverstripe-tracking-scripts
Files in springtimesoft/silverstripe-tracking-scripts
Package silverstripe-tracking-scripts
Short Description A module to add various tracking scripts to Silverstripe
License MIT
Homepage https://github.com/springtimesoft/silverstripe-tracking-scripts
Informations about the package silverstripe-tracking-scripts
Silverstripe Tracking Scripts
A module to easy manage your site's tracking scripts from your admin settings. Options currently include Google Analytics 4 (GA4), Google Tag Manager and Meta Pixel.
Requirements
- Silverstripe ^4.0 || ^5.0
The module will also install symbiote/silverstripe-gridfieldextensions
if you do not already have it.
Installation
You will need to run dev/build
after installation.
Adding the code to your Page.ss
Just after the opening <body>
tag in your Page.ss
template, add $TrackingScripts
.
The module will automatically inject JavaScript into your HTML head.
Configuration
In your site settings, add your tracking IDs within the Tracking Scripts
tab.
All versions of silverstripe-tracking-scripts with dependencies
symbiote/silverstripe-gridfieldextensions Version ^3.2 || ^4.0