Sha256: 5033558bc22fbe7daa60b459051c92b0bd90017e4c9715ac1be52c0540af4a31

Contents?: true

Size: 500 Bytes

Versions: 1

Compression:

Stored size: 500 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

1 entries across 1 versions & 1 rubygems

Version Path
keppler-2.1.12 installer/core/app/views/app/layouts/_google_analytics.html.haml