Added tracking code

This commit is contained in:
CHIEFSOFT\ameye
2024-12-28 11:25:45 -05:00
parent 11e6a2aae6
commit 375999a10c
3 changed files with 35 additions and 17 deletions
+13 -1
View File
@@ -5,9 +5,21 @@ const PageHead = ({ headTitle }) => {
<>
<Head>
<>
{headTitle ? headTitle : "Martex - Software, App, SaaS & Startup Nextjs Landing Pages Pack"}
{headTitle ? headTitle : "Merms Header Here"}
</>
</Head>
<>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-HKJJ7G78DB"></script>
<script>
{`
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-HKJJ7G78DB');
`}
</script>
</>
</>
)
}