Introducing Google Analytics

This commit is contained in:
Kris 2024-05-06 16:16:20 +02:00
parent ac4659bfd9
commit 49f5f572e6
No known key found for this signature in database
GPG Key ID: 36AFAA97D2910652
2 changed files with 12 additions and 0 deletions

View File

@ -5,6 +5,18 @@ export default defineConfig({
lang: 'zh-CN',
head: [
['script', { src: 'https://cdn.wwads.cn/js/makemoney.js', async: 'true' }],
[
'script',
{
async: '',
src: 'https://www.googletagmanager.com/gtag/js?id=G-FDME8GJGTW'
}
],
[
'script',
{},
"window.dataLayer = window.dataLayer || [];\nfunction gtag(){dataLayer.push(arguments);}\ngtag('js', new Date());\ngtag('config', 'G-FDME8GJGTW');"
]
],
locales: {
root: {

0
package-lock.json generated Normal file → Executable file
View File