Download the PHP package burnbright/silverstripe-shop-googleanalytics without Composer
On this page you can find all versions of the php package burnbright/silverstripe-shop-googleanalytics. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download burnbright/silverstripe-shop-googleanalytics
More information about burnbright/silverstripe-shop-googleanalytics
Files in burnbright/silverstripe-shop-googleanalytics
Download burnbright/silverstripe-shop-googleanalytics
More information about burnbright/silverstripe-shop-googleanalytics
Files in burnbright/silverstripe-shop-googleanalytics
Vendor burnbright
Package silverstripe-shop-googleanalytics
Short Description Integrate SilverStripe shop sales with google analytics.
License BSD-2-Clause
Package silverstripe-shop-googleanalytics
Short Description Integrate SilverStripe shop sales with google analytics.
License BSD-2-Clause
Please rate this library. Is it a good library?
Informations about the package silverstripe-shop-googleanalytics
Shop Google Analytics Tracking
Setup
Add the following to your yaml config:
Some additional configuration options (all on the ShopGoogleAnalytics object):
- disable_on_dev - by default analytics code is not included unless Director::isLive() is true, setting this to false causes it to show up any time
- no_sku_prefix - if an item doesn't have a SKU/InternalItemID set we need to send something to google using this prefix and the ID
- disable_pageviews - don't include the basic pageview code. set this to true if using another analytics module such as silverstripe/googleanalytics
- use_requirements - default is true, which uses Requirements::customScript to insert the tracking code. Set this to false and add $GoogleAnalyticsJS to your template to have more control over where the code goes.
- tracking_type - 'Universal' or 'Classic' - default is Classic to maintain backwards compatibility
- tracking_code - allows finer grained control over the templates used to generate the javascript
TODO / Room for improvement:
- Optionally allow recording actions: add to cart, remove, set quantity.
- Integrate analtyics reporting into CMS for an order. This way site owners an see additional info for the customer.
All versions of silverstripe-shop-googleanalytics with dependencies
PHP Build Version
Package Version
Requires
silverstripe/cms Version
~3.1
silverstripe/framework Version ~3.1
silvershop/core Version ~1.0 || ~2.0
silverstripe/framework Version ~3.1
silvershop/core Version ~1.0 || ~2.0
The package burnbright/silverstripe-shop-googleanalytics contains the following files
Loading the files please wait ....