analytics-element

1.1.3 • Public • Published

analitics-element

npm version License Join the chat at https://gitter.im/zguillez/analytics-element

Google Analytics custom-element for Polymer.

Getting Started

Download component with NPM

npm i analytics-element --save

Requeriments

Polymer

Usage

  • Import the component to the HTML file.
  • Add the component tag.
  • Insert the ID tracking for Google Analytics

Example code:

<link rel="import" href="node_modules/analytics-element/analytics-element.html">
<element-analytics id="UA-XXXXXXXX-X"/>

Contributing and issues

Contributors are welcome, please fork and send pull requests! If you have any ideas on how to make this project better then please submit an issue or send me an email.

License

©2016 Zguillez.io

Original code licensed under MIT Open Source projects used within this project retain their original licenses.

Changelog

v1.1.0 (April 4, 2016)

  • Replace ID param to UID

v1.0.0 (April 1, 2016)

  • Initial implementation

Analytics

Package Sidebar

Install

npm i analytics-element

Weekly Downloads

1

Version

1.1.3

License

MIT

Last publish

Collaborators

  • zguillez