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
+1 -6
View File
@@ -45,12 +45,7 @@ export default function Layout({ headerStyle, footerStyle, headTitle, breadcrumb
{children}
</main>
< Footer3 />
{/*{!footerStyle && < Footer1 />}*/}
{/*{footerStyle == 1 ? < Footer1 /> : null}*/}
{/*{footerStyle == 2 ? < Footer2 /> : null}*/}
{/*{footerStyle == 3 ? < Footer3 /> : null}*/}
<Footer3 />
<BackToTop />
</div>
</>
+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>
</>
</>
)
}