Sha256: e6a2cc38fb1bb6f2958dde1941addb4510d125c419020bbaaa9970904f4ce589

Contents?: true

Size: 496 Bytes

Versions: 11

Compression:

Stored size: 496 Bytes

Contents

%script{:async => "", :src => "https://www.googletagmanager.com/gtag/js?id=UA-121648466-1"}
- if Rails.env.production? && @setting.google_analytics_setting.ga_status
	- if Script.get_script(request)
		- tracking = Script.get_script(request).script
	- unless tracking
		- tracking = @setting.google_analytics_setting.ga_tracking_id

	:javascript
		window.dataLayer = window.dataLayer || [];
		function gtag(){dataLayer.push(arguments);}
		gtag('js', new Date());

		gtag('config', "#{tracking}");

Version data entries

11 entries across 10 versions & 1 rubygems

Version Path
keppler-2.1.22 installer/core/app/views/app/layouts/_google_analytics.html.haml
keppler-2.1.21 installer/core/app/views/app/layouts/_google_analytics.html.haml
keppler-2.1.20 installer/core/app/views/app/layouts/_google_analytics.html.haml
keppler-2.1.19 installer/core/app/views/app/layouts/_google_analytics.html.haml
keppler-2.1.18 installer/core/app/views/app/layouts/_google_analytics.html.haml
keppler-2.1.18 testing-with-2.1.18/app/views/app/layouts/_google_analytics.html.haml
keppler-2.1.17 installer/core/app/views/app/layouts/_google_analytics.html.haml
keppler-2.1.16 installer/core/app/views/app/layouts/_google_analytics.html.haml
keppler-2.1.15 installer/core/app/views/app/layouts/_google_analytics.html.haml
keppler-2.1.14 installer/core/app/views/app/layouts/_google_analytics.html.haml
keppler-2.1.13 installer/core/app/views/app/layouts/_google_analytics.html.haml