parent
dd826c3e0d
commit
c24c367339
@ -0,0 +1,12 @@
|
|||||||
|
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||||
|
<script async src="https://www.googletagmanager.com/gtag/js?id=<%= google_analytics_id %>"></script>
|
||||||
|
<script>
|
||||||
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
|
||||||
|
function gtag() {
|
||||||
|
dataLayer.push(arguments);
|
||||||
|
}
|
||||||
|
|
||||||
|
gtag('js', new Date());
|
||||||
|
gtag('config', <%= google_analytics_id.to_json.html_safe %>);
|
||||||
|
</script>
|
||||||
Loading…
Reference in new issue