diff --git a/src/third-parties/google-analytics/data.json b/src/third-parties/google-analytics/data.json index 92ee4af..0a29aa8 100644 --- a/src/third-parties/google-analytics/data.json +++ b/src/third-parties/google-analytics/data.json @@ -15,7 +15,7 @@ "key": "gtag" }, { - "code": "window[{{l}}]=window[{{l}}]||[];window[{{l}}].push({'js':new Date()});window[{{l}}].push({'config':{{id}}})", + "code": "window[{{l}}]=window[{{l}}]||[];function gtag(){window[{{l}}].push(arguments);};gtag('js',new Date());gtag('config','{{id}}')", "params": ["id"], "optionalParams": { "l": "dataLayer"