change pixel facebook fr es
This commit is contained in:
parent
883f095864
commit
8ce06e9584
@ -103,20 +103,36 @@
|
|||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<!-- Facebook Pixel Code -->
|
<!-- Facebook Pixel Code -->
|
||||||
{literal}
|
{if $cookie->id_lang == 2}
|
||||||
<script>
|
{literal}
|
||||||
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
|
<script>
|
||||||
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
|
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
|
||||||
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
|
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
|
||||||
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
|
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
|
||||||
document,'script','//connect.facebook.net/en_US/fbevents.js');
|
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
|
||||||
|
document,'script','//connect.facebook.net/en_US/fbevents.js');
|
||||||
|
|
||||||
|
fbq('init', '585280634957856');
|
||||||
|
fbq('track', "PageView");
|
||||||
|
</script>
|
||||||
|
{/literal}
|
||||||
|
<noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=585280634957856&ev=PageView&noscript=1"/></noscript>
|
||||||
|
{elseif $cookie->id_lang == 3}
|
||||||
|
{literal}
|
||||||
|
<script>
|
||||||
|
!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','//connect.facebook.net/en_US/fbevents.js');
|
||||||
|
|
||||||
|
fbq('init', '778018572325168');
|
||||||
|
fbq('track', "PageView");
|
||||||
|
</script>
|
||||||
|
{/literal}
|
||||||
|
<noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=778018572325168&ev=PageView&noscript=1"/></noscript>
|
||||||
|
{/if}
|
||||||
|
|
||||||
fbq('init', '585280634957856');
|
|
||||||
fbq('track', "PageView");
|
|
||||||
</script>
|
|
||||||
{/literal}
|
|
||||||
<noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=585280634957856&ev=PageView&noscript=1"/></noscript>
|
|
||||||
|
|
||||||
{literal}
|
{literal}
|
||||||
<script>
|
<script>
|
||||||
fbq('track', 'ViewContent', {
|
fbq('track', 'ViewContent', {
|
||||||
@ -137,15 +153,6 @@
|
|||||||
{if $page_name == 'order-confirmation' && isset($order)}
|
{if $page_name == 'order-confirmation' && isset($order)}
|
||||||
{literal}
|
{literal}
|
||||||
<script>
|
<script>
|
||||||
var product_ids = [];
|
|
||||||
{/literal}
|
|
||||||
{foreach from=$productIds item='product_id'}
|
|
||||||
{literal}
|
|
||||||
product_ids.push({/literal}{$product_id}{literal});
|
|
||||||
{/literal}
|
|
||||||
{/foreach}
|
|
||||||
{literal}
|
|
||||||
|
|
||||||
fbq('track', 'Purchase', {
|
fbq('track', 'Purchase', {
|
||||||
value: '{/literal}{$order->total_paid}{literal}',
|
value: '{/literal}{$order->total_paid}{literal}',
|
||||||
currency: "{/literal}{$currency['name']}{literal}"
|
currency: "{/literal}{$currency['name']}{literal}"
|
||||||
|
@ -110,20 +110,36 @@
|
|||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<!-- Facebook Pixel Code -->
|
<!-- Facebook Pixel Code -->
|
||||||
{literal}
|
{if $cookie->id_lang == 2}
|
||||||
<script>
|
{literal}
|
||||||
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
|
<script>
|
||||||
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
|
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
|
||||||
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
|
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
|
||||||
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
|
n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0;
|
||||||
document,'script','//connect.facebook.net/en_US/fbevents.js');
|
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
|
||||||
|
document,'script','//connect.facebook.net/en_US/fbevents.js');
|
||||||
|
|
||||||
|
fbq('init', '585280634957856');
|
||||||
|
fbq('track', "PageView");
|
||||||
|
</script>
|
||||||
|
{/literal}
|
||||||
|
<noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=585280634957856&ev=PageView&noscript=1"/></noscript>
|
||||||
|
{elseif $cookie->id_lang == 3}
|
||||||
|
{literal}
|
||||||
|
<script>
|
||||||
|
!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','//connect.facebook.net/en_US/fbevents.js');
|
||||||
|
|
||||||
|
fbq('init', '778018572325168');
|
||||||
|
fbq('track', "PageView");
|
||||||
|
</script>
|
||||||
|
{/literal}
|
||||||
|
<noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=778018572325168&ev=PageView&noscript=1"/></noscript>
|
||||||
|
{/if}
|
||||||
|
|
||||||
fbq('init', '585280634957856');
|
|
||||||
fbq('track', "PageView");
|
|
||||||
</script>
|
|
||||||
{/literal}
|
|
||||||
<noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=585280634957856&ev=PageView&noscript=1"/></noscript>
|
|
||||||
|
|
||||||
{literal}
|
{literal}
|
||||||
<script>
|
<script>
|
||||||
fbq('track', 'ViewContent', {
|
fbq('track', 'ViewContent', {
|
||||||
@ -144,15 +160,6 @@
|
|||||||
{if $page_name == 'order-confirmation'}
|
{if $page_name == 'order-confirmation'}
|
||||||
{literal}
|
{literal}
|
||||||
<script>
|
<script>
|
||||||
var product_ids = [];
|
|
||||||
{/literal}
|
|
||||||
{foreach from=$productIds item='product_id'}
|
|
||||||
{literal}
|
|
||||||
product_ids.push({/literal}{$product_id}{literal});
|
|
||||||
{/literal}
|
|
||||||
{/foreach}
|
|
||||||
{literal}
|
|
||||||
|
|
||||||
fbq('track', 'Purchase', {
|
fbq('track', 'Purchase', {
|
||||||
value: '{/literal}{$order->total_paid}{literal}',
|
value: '{/literal}{$order->total_paid}{literal}',
|
||||||
currency: "{/literal}{$currency['name']}{literal}"
|
currency: "{/literal}{$currency['name']}{literal}"
|
||||||
|
Loading…
Reference in New Issue
Block a user