Merge branch 'master' of https://github.com/merelendor/evoleasing-account
This commit is contained in:
commit
269c21d406
4
.gitignore
vendored
4
.gitignore
vendored
@ -34,4 +34,6 @@ yarn-error.log*
|
|||||||
.vercel
|
.vercel
|
||||||
/uploads/*
|
/uploads/*
|
||||||
|
|
||||||
/.vscode/
|
/.vscode/
|
||||||
|
start.sh
|
||||||
|
dev.sh
|
||||||
@ -32,6 +32,19 @@ const WrappedApp = (props) =>
|
|||||||
<>
|
<>
|
||||||
{ !props.observer && (
|
{ !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'}>
|
<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)};
|
(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