Sha256: 56c81122e5fa6233db5941c0b3518ab55fa9d116fe326010d50e4d70da2da4dd

Contents?: true

Size: 559 Bytes

Versions: 4

Compression:

Stored size: 559 Bytes

Contents

pw.component.register("ga",function(t,n){!function(t,n,e,a,c,i,o){t.GoogleAnalyticsObject=c,t[c]=t[c]||function(){(t[c].q=t[c].q||[]).push(arguments)},t[c].l=1*new Date,i=n.createElement(e),o=n.getElementsByTagName(e)[0],i.async=1,i.src=a,o.parentNode.insertBefore(i,o)}(window,document,"script","//www.google-analytics.com/analytics.js","ga"),ga("create",n.trackingId,"auto"),this.track=function(t){-1==document.domain.indexOf("local")&&ga("send","pageview",t)},this.listen("navigator:change",function(t){this.track(t.uri)}),this.track(location.pathname)});

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pakyow-0.11.3 lib/generators/pakyow/app/templates/public/scripts/ring/components/ga.min.js
pakyow-0.11.2 lib/generators/pakyow/app/templates/public/scripts/ring/components/ga.min.js
pakyow-0.11.1 lib/generators/pakyow/app/templates/public/scripts/ring/components/ga.min.js
pakyow-0.11.0 lib/generators/pakyow/app/templates/public/scripts/ring/components/ga.min.js