Name: angulartics-clicky
Owner: angulartics
Description: Clicky plugin for Angulartics http://angulartics.github.io/#/plugins
Created: 2015-09-08 00:16:06.0
Updated: 2016-07-08 12:22:03.0
Pushed: 2016-04-27 14:32:30.0
Size: 7
Language: HTML
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Clicky plugin for Angulartics.
NOTE You must have a premium Clicky account for this plugin to function.
First make sure you've read installation and setup instructions for Angulartics.
Then you can install this package either with npm
or with bower
.
install angulartics-clicky
Then add angulartics.clicky
as a dependency for your app:
ire('angulartics')
lar.module('myApp', [
ngulartics',
quire('angulartics-clicky')
Please note that core Angulartics doesn't export the name yet, but it will once we move it into the new organization.
r install angulartics-clicky
Add the <script>
to your index.html
:
ipt src="/bower_components/angulartics-clicky/dist/angulartics-clicky.min.js"></script>
Then add angulartics.clicky
as a dependency for your app:
lar.module('myApp', [
ngulartics',
ngulartics.clicky'
Make the following modifications to your Clicky configuration object when using this module.
pageview_disable
stops pageviews from being tracked. Angulartics should do this automatically.history_disable
stops tracking of the back/forward button. Angulartics should track movement through your application's routes.ipt type="text/javascript">
r clicky_custom = {
pageview_disable : 1,
history_disable : 1
r clicky_site_ids = clicky_site_ids || [];
icky_site_ids.push(100000000);
unction () {
var s = document.createElement('script');
s.type = 'text/javascript';
s.async = true;
s.src = '//static.getclicky.com/js';
( document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0] ).appendChild(s);
();
ript>
Documentation is available on the Angulartics site.
run build