AW-340-pixel-palmistry
This commit is contained in:
parent
eb6db3522e
commit
57aaf8a39b
@ -91,6 +91,18 @@ t.src=v;s=b.getElementsByTagName(e)[0];
|
|||||||
s.parentNode.insertBefore(t,s)}(window, document,'script',
|
s.parentNode.insertBefore(t,s)}(window, document,'script',
|
||||||
'https://connect.facebook.net/en_US/fbevents.js');
|
'https://connect.facebook.net/en_US/fbevents.js');
|
||||||
fbq('init', '814481464004499');
|
fbq('init', '814481464004499');
|
||||||
|
fbq('track', 'PageView');`;
|
||||||
|
|
||||||
|
const FBScriptPalmistry = `
|
||||||
|
!function(f,b,e,v,n,t,s)
|
||||||
|
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
|
||||||
|
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
|
||||||
|
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
|
||||||
|
n.queue=[];t=b.createElement(e);t.async=!0;
|
||||||
|
t.src=v;s=b.getElementsByTagName(e)[0];
|
||||||
|
s.parentNode.insertBefore(t,s)}(window, document,'script',
|
||||||
|
'https://connect.facebook.net/en_US/fbevents.js');
|
||||||
|
fbq('init', '456294924152594');
|
||||||
fbq('track', 'PageView');`;
|
fbq('track', 'PageView');`;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@ -105,6 +117,9 @@ fbq('track', 'PageView');`;
|
|||||||
)}
|
)}
|
||||||
{isRouteInclude(window.location.href, routesPalmistry) &&
|
{isRouteInclude(window.location.href, routesPalmistry) &&
|
||||||
locale?.includes("pt") && <script>{FBScriptPTPalmistry}</script>}
|
locale?.includes("pt") && <script>{FBScriptPTPalmistry}</script>}
|
||||||
|
{isRouteInclude(window.location.href, routesPalmistry) && (
|
||||||
|
<script>{FBScriptPalmistry}</script>
|
||||||
|
)}
|
||||||
</Helmet>
|
</Helmet>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user