springtimesoft/silverstripe-tracking-scripts
最新稳定版本:1.0.3
Composer 安装命令:
composer require springtimesoft/silverstripe-tracking-scripts
包简介
A module to add various tracking scripts to Silverstripe
README 文档
README
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
composer require springtimesoft/silverstripe-tracking-scripts
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.
统计信息
- 总下载量: 617
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-06-26