ttree/googleanalytics

Last activity on 1 January 2018
  • 1
  • 1
  • 1649
composer require ttree/googleanalytics

Simple TypoScript objects to integration Google Analytics tracking codes on your Neos CMS Project

2.0.0

Simple TypoScript objects to integration Google Analytics tracking codes on your Neos CMS Project

Version
2.0.0
Type
neos-package
Release Date
04.10.2017 14:56:36
Source
git
Distribution
zip
Requires
Requires (dev)
None
Suggest
None
Provides
None
Conflicts
None
Replaces
None
MIT
  • #analytics
  • #neos
  • #tracking
70248f3016d1fde4d4039936de98c46a784c2be2

BSD License Latest Stable Version

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.

The content of the readme is provided by Github
The same vendor provides 48 package(s).