fix(web): wrong template ga_id

This commit is contained in:
journey-ad 2024-10-31 14:11:39 +08:00
parent 16948c7038
commit 6f90c7a062

View File

@ -9,7 +9,7 @@ html
script(less, src='https://cdn.jsdelivr.net/npm/less')
if ga_id
<!-- 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.
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }