add scropts
This commit is contained in:
@@ -12,7 +12,7 @@ export default defineConfig({
|
|||||||
react(),
|
react(),
|
||||||
partytown({
|
partytown({
|
||||||
config: {
|
config: {
|
||||||
forward: ['dataLayer.push'],
|
forward: ['dataLayer.push', 'fbq'],
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
|
|||||||
367
superpage/public/fbevents.js
Normal file
367
superpage/public/fbevents.js
Normal file
File diff suppressed because one or more lines are too long
@@ -24,6 +24,7 @@ import '@fontsource/roboto'
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<Head {...props} />
|
<Head {...props} />
|
||||||
|
|
||||||
<!-- Google tag (gtag.js) -->
|
<!-- Google tag (gtag.js) -->
|
||||||
<script type="text/partytown" src="https://www.googletagmanager.com/gtag/js?id=G-GSTQ17E9DJ"></script>
|
<script type="text/partytown" src="https://www.googletagmanager.com/gtag/js?id=G-GSTQ17E9DJ"></script>
|
||||||
<script type="text/partytown">
|
<script type="text/partytown">
|
||||||
@@ -36,6 +37,14 @@ import '@fontsource/roboto'
|
|||||||
gtag('config', 'G-GSTQ17E9DJ')
|
gtag('config', 'G-GSTQ17E9DJ')
|
||||||
</script>
|
</script>
|
||||||
<!-- End Google tag (gtag.js) -->
|
<!-- End Google tag (gtag.js) -->
|
||||||
|
|
||||||
|
<!-- Facebook Pixel Code -->
|
||||||
|
<script type="text/partytown" src="/fbevents.js"></script>
|
||||||
|
<script type="text/partytown">
|
||||||
|
fbq('init', '1668701220059147')
|
||||||
|
fbq('track', 'PageView')
|
||||||
|
</script>
|
||||||
|
<!-- End Facebook Pixel Code -->
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
Reference in New Issue
Block a user