extract inline JS for google tag manager

This commit is contained in:
Kyle Zhao
2018-09-10 14:10:20 +08:00
committed by Sam
parent 38c70bfda2
commit f666d72606
4 changed files with 24 additions and 11 deletions

View File

@@ -31,7 +31,7 @@ module ApplicationHelper
if SiteSetting.ga_universal_auto_link_domains.present?
result[:allowLinker] = true
end
result.to_json.html_safe
result.to_json
end
def ga_universal_json