Merge branch 'ticket_11119' into devel

This commit is contained in:
Rodney Figaro 2016-10-25 10:31:28 +02:00
commit f9726267e0

View File

@ -114,13 +114,20 @@
<!-- <noscript><img height="1" width="1" alt="" style="display:none" src="https://www.facebook.com/tr?id=400077940140529&amp;ev=PixelInitialized" /></noscript>
-->
{if isset($cookie->id_customer) && $cookie->id_customer!=''}
<script>
var dataLayer = [{
'customer_id': '{$cookie->id_customer}',
'customer_email' : '{$cookie->email}'
}];
</script>
{if isset($cookie->id_customer) }
<script>
var dataLayer = [{
'customer_id': '{$cookie->id_customer}',
'customer_email' : '{$cookie->email}'
}];
</script>
{else}
<script>
var dataLayer = [{
'customer_id': '',
'customer_email' : ''
}];
</script>
{/if}
{literal}