analytics-element
v1.1.3
Published
Google Analytics pixel custom-element
Downloads
7
Maintainers
Readme
analitics-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