ttree/googleanalytics
Composer 安装命令:
composer require ttree/googleanalytics
包简介
Simple TypoScript objects to integration Google Analytics tracking codes on your Neos CMS Project
关键字:
README 文档
README
Google Analytics TS Object
This package contains a TypoScript object to integrate Google Analytics tracking code in your Neos CMS project.
How to integrate your tracking code?
Add this to your TypoScript to add the tracking snippet and set your code:
prototype(Neos.Neos:Page)
body.javascripts.analytics = Ttree.GoogleAnalytics:TrackingCode {
trackingCode = 'UA-...'
}
}
Note: By default the tracking code is included only in Production context. If you need to include the tracking code
also in Development context, check the code in TrackingCode,
you can adjust the Eel expression at @if.includeTrackingCode as you need.
Acknowledgments
Development sponsored by ttree ltd - neos solution provider.
We try our best to craft this package with a lots of love, we are open to sponsoring, support request, ... just contact us.
License
The MIT License (MIT). Please see LICENSE for more information.
统计信息
- 总下载量: 1.66k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-04-11