Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

d-analytics

icaliman6MIT0.0.8

Google Analytics component for Derby

google, analytics, derby-component

readme

d-analytics

Google Analytics component for Derby.

Records page views in Google Analytics for pages where component is added.

Usage

First of make sure to install d-share through npm npm install d-analytics

Including

app.use(require('d-analytics'));

In template

<analytics id="UA-XXXX-Y"/>

Note: You must replace the value UA-XXXX-Y with the web property ID listed in the management interface within Google Analytics.