This package has been deprecated

Author message:

WARNING: This package is deprecated. Use the google-ua instead; see htps://github/pirxpilot/google-ua

code42day-ga

1.2.1 • Public • Published

ga

Google Analytics tracking snippet You might want to use code42day/ua instead - it supports new Google Universal Analytics snipper.

Installation

$ component install code42day/ga

API

Activate Google Analytics on the page and track page

require('ga')("UA-XXXX-X");

Alternatively you can define GA property ID as a data attribute of document body

<body data-ga-property-id="UA-XXXX-X">

Check test/index.html for example.

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i code42day-ga

Weekly Downloads

0

Version

1.2.1

License

MIT

Last publish

Collaborators

  • deprecated.packages