Google Ads Codes / GTM / FR / IT

0.0/5
<?php
add_action( 'wp_head', function () { 
  	if ( get_site_url() == 'https://reclar.it' ) {
?>
<script>
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-NWZ56B2');
</script>
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-670776836"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'AW-670776836');
</script>
<script>
 gtag('event', 'page_view', {
 'send_to': 'AW-670776836',
 'value': 'replace with value',
 'items': [{
 'id': 'replace with value',
 'google_business_vertical': 'retail'
 }]
 });
</script>
<?php
}
?>

<?php
	if ( get_site_url() == 'https://reclar.fr' ) {
?>
<meta name="google-site-verification" content="d9lKNTYztVIX07JBQRROsR_qDlx63fH2kD8Hl2H3Ldw" />
<script>
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-TX27C3Q');
</script>
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-670778923"></script>
<script>
 window.dataLayer = window.dataLayer || [];
 function gtag(){dataLayer.push(arguments);}
 gtag('js', new Date());
 gtag('config', 'AW-670778923');
</script>
<script>
 gtag('event', 'page_view', {
 'send_to': 'AW-670778923',
 'value': 'replace with value',
 'items': [{
 'id': 'replace with value',
 'google_business_vertical': 'retail'
 }]
 });
</script>

<?php
}
} );

Comments and reviews

{{ reviewsTotal }} Review
{{ reviewsTotal }} Reviews
{{ options.labels.newReviewButton }}
{{ userData.canReview.message }}

Description

This snippet was fetched automatically from WPDistro.cz projects.

Author

Tags

This snippet is untagged