angulartics/angulartics-clicky

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

Homepage:

Size: 7

Language: HTML

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

angulartics-clicky

Clicky plugin for Angulartics.

NOTE You must have a premium Clicky account for this plugin to function.

Install

First make sure you've read installation and setup instructions for Angulartics.

Then you can install this package either with npm or with bower.

npm
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.

bower
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'

Changes in the Clicky snippet

Make the following modifications to your Clicky configuration object when using this module.

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

Documentation is available on the Angulartics site.

Development
run build
License

MIT


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.