Sha256: aa3b122698334facb9f02387193739ee2167c4dc9c874e0546a7dbe808daca00
Contents?: true
Size: 508 Bytes
Versions: 11
Compression:
Stored size: 508 Bytes
Contents
module KepplerGaDashboard module Admin module DashboardHelper def library_analytics content_tag :script do "(function(w,d,s,g,js,fs){ g=w.gapi||(w.gapi={});g.analytics={q:[],ready:function(f){this.q.push(f);}}; js=d.createElement(s);fs=d.getElementsByTagName(s)[0]; js.src='https://apis.google.com/js/platform.js'; fs.parentNode.insertBefore(js,fs);js.onload=function(){g.load('analytics');}; }(window,document,'script'));".html_safe end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems