Merge branch 'master' of https://github.com/merelendor/evoleasing-account
This commit is contained in:
commit
269c21d406
2
.gitignore
vendored
2
.gitignore
vendored
@ -35,3 +35,5 @@ yarn-error.log*
|
||||
/uploads/*
|
||||
|
||||
/.vscode/
|
||||
start.sh
|
||||
dev.sh
|
||||
@ -32,6 +32,19 @@ const WrappedApp = (props) =>
|
||||
<>
|
||||
{ !props.observer && (
|
||||
<>
|
||||
<Script
|
||||
src={`https://www.googletagmanager.com/gtag/js?id=${ process.env.NEXT_PUBLIC_GOOGLE_ANALYTICS_ID }`}
|
||||
strategy="afterInteractive"
|
||||
/>
|
||||
<Script id="google-analytics" strategy="afterInteractive">
|
||||
{`
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){window.dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', '${ process.env.NEXT_PUBLIC_GOOGLE_ANALYTICS_ID }');
|
||||
`}
|
||||
</Script>
|
||||
<Script id="yandex-metrica" strategy={'afterInteractive'}>
|
||||
{`
|
||||
(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user