Browse Source
* CLDC-1620 Add Google Tag Manager scripts to layout * Update app/views/layouts/application.html.erb Co-authored-by: James Rose <james@jbpr.net> * CLDC-1620 Extract GTM IDs to helper Co-authored-by: James Rose <james@jbpr.net>pull/972/head
Sam
2 years ago
committed by
GitHub
2 changed files with 48 additions and 0 deletions
@ -0,0 +1,13 @@
|
||||
# frozen_string_literal: true |
||||
|
||||
module AnalyticsHelper |
||||
def get_gtm_container |
||||
# Additional environments tbc |
||||
"GTM-M6GS7FF" |
||||
end |
||||
|
||||
def get_gtm_id |
||||
# Additional environments tbc |
||||
"G-1RH26G5KVP" |
||||
end |
||||
end |
Loading…
Reference in new issue