fix(web): wrong template ga_id
This commit is contained in:
parent
16948c7038
commit
6f90c7a062
@ -9,7 +9,7 @@ html
|
|||||||
script(less, src='https://cdn.jsdelivr.net/npm/less')
|
script(less, src='https://cdn.jsdelivr.net/npm/less')
|
||||||
if ga_id
|
if ga_id
|
||||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||||
script(async, src='https://www.googletagmanager.com/gtag/js?id=#{ga_id}')
|
script(async, src=`https://www.googletagmanager.com/gtag/js?id=${ga_id}`)
|
||||||
script.
|
script.
|
||||||
window.dataLayer = window.dataLayer || [];
|
window.dataLayer = window.dataLayer || [];
|
||||||
function gtag() { dataLayer.push(arguments); }
|
function gtag() { dataLayer.push(arguments); }
|
||||||
|
Loading…
Reference in New Issue
Block a user