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

Version Path
keppler-2.1.22 installer/core/rockets/keppler_ga_dashboard/app/helpers/keppler_ga_dashboard/admin/dashboard_helper.rb
keppler-2.1.21 installer/core/rockets/keppler_ga_dashboard/app/helpers/keppler_ga_dashboard/admin/dashboard_helper.rb
keppler-2.1.20 installer/core/rockets/keppler_ga_dashboard/app/helpers/keppler_ga_dashboard/admin/dashboard_helper.rb
keppler-2.1.19 installer/core/rockets/keppler_ga_dashboard/app/helpers/keppler_ga_dashboard/admin/dashboard_helper.rb
keppler-2.1.18 installer/core/rockets/keppler_ga_dashboard/app/helpers/keppler_ga_dashboard/admin/dashboard_helper.rb
keppler-2.1.17 installer/core/rockets/keppler_ga_dashboard/app/helpers/keppler_ga_dashboard/admin/dashboard_helper.rb
keppler-2.1.16 installer/core/rockets/keppler_ga_dashboard/app/helpers/keppler_ga_dashboard/admin/dashboard_helper.rb
keppler-2.1.15 installer/core/rockets/keppler_ga_dashboard/app/helpers/keppler_ga_dashboard/admin/dashboard_helper.rb
keppler-2.1.14 installer/core/rockets/keppler_ga_dashboard/app/helpers/keppler_ga_dashboard/admin/dashboard_helper.rb
keppler-2.1.13 installer/core/rockets/keppler_ga_dashboard/app/helpers/keppler_ga_dashboard/admin/dashboard_helper.rb
keppler-2.1.12 installer/core/rockets/keppler_ga_dashboard/app/helpers/keppler_ga_dashboard/admin/dashboard_helper.rb