Jump to content

insertion tag retargeting. help svp


Recommended Posts

Bonjour a tous,

 

J'aurai besoin d'un petit coup de main concernant l insertion de mon tag retargeting Facebook 

Le tag doit être inséré dans le fichier header, 

 

il doit être inséré entre les les balises <head> et </head> , 

 

Si un developpeur a l amabilité de jeter un oeil et me dire si tout est ok.

 

je lui en serait très reconnaissant,

 

merci a la communauté et a prestashop, 

 

Tag a insérer en ROUGE

 

 

 

<!DOCTYPE html>

<!--[if lt IE 7 ]><html class="ie ie6 no-js" lang="en"><![endif]-->
<!--[if IE 7 ]><html class="ie ie7 no-js" lang="en"><![endif]-->
<!--[if IE 8 ]><html class="ie ie8 no-js" lang="en"><![endif]-->
<!--[if IE 9 ]><html class="ie ie9 no-js" lang="en"><![endif]-->
<!--[if gt IE 9]><!--><html class="no-js" lang="{$lang_iso}"><!--<![endif]--><head>
 
<script>(function() {
  var _fbq = window._fbq || (window._fbq = []);
  if (!_fbq.loaded) {
    var fbds = document.createElement('script');
    fbds.async = true;
    fbds.src = '//connect.facebook.net/en_US/fbds.js';
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(fbds, s);
    _fbq.loaded = true;
  }
  _fbq.push(['addPixelId', '1382256408765275']);
})();
window._fbq = window._fbq || [];
window._fbq.push(['track', 'PixelInitialized', {}]);
</script>
<noscript><img height="1" width="1" alt="" style="display:none" src="https: // www.facebook.com/tr?id=138225640876275&ev=PixelInitialized" /></noscript>
 
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
{if $meta_title == $shop_name}
    <title>{$meta_title|escape:'htmlall':'UTF-8'}</title>
    {else}
    {assign var=shop_name_trim value=" - $shop_name"}
    <title>{$meta_title|replace:$shop_name_trim:''|escape:'htmlall':'UTF-8'}</title>
    {/if}
{if isset($meta_description) AND $meta_description}
<meta name="description" content="{$meta_description|escape:html:'UTF-8'}" />
{/if}
{if isset($meta_keywords) AND $meta_keywords}
    <meta name="keywords" content="{$meta_keywords|escape:html:'UTF-8'}" />
    {/if}
{if isset($purified_canonnical_url) AND $purified_canonnical_url}
<link rel="canonical" href="{$purified_canonnical_url|escape:html:'UTF-8'}" />
{/if}
{if isset($purified_canonnical_nofollow) AND $purified_canonnical_nofollow}
<meta name="robots" content="noindex,nofollow" />
{else}
    <meta name="robots" content="{if isset($nobots)}no{/if}index,{if isset($nofollow) && $nofollow}no{/if}follow" />
{/if}
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> 
    <meta name="apple-mobile-web-app-capable" content="yes" /> 
         
<meta name="language" content="{$current_language_name}" />
 
<!-- LINK - STYLE - GOGLEFONT -->  
<link rel="icon" type="image/vnd.microsoft.icon" href="{$favicon_url}?{$img_update_time}" />
<link rel="shortcut icon" type="image/x-icon" href="{$favicon_url}?{$img_update_time}" />
 
 
<!--
 
 
 
             <!-- FOREACH JS - STYLE -->
<script type="text/javascript">
var baseDir = '{$content_dir}';
var baseUri = '{$base_uri}';
var static_token = '{$static_token}';
var token = '{$token}';
var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals};
var priceDisplayMethod = {$priceDisplay};
var roundMode = {$roundMode};
</script> 
    
    <!-- MAIN-STYLE-PRESTASHOP -->
{if isset($css_files)}
{foreach from=$css_files key=css_uri item=media}
    <link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" />
    {/foreach}
{/if}         
 
 
        <link href="{$css_dir}320.css" rel="stylesheet" type="text/css" media="all" />
        <link href="{$css_dir}480.css" rel="stylesheet" type="text/css" media="all" />
        <link href="{$css_dir}768.css" rel="stylesheet" type="text/css" media="all" />  
 
{if isset($js_files)}
{foreach from=$js_files item=js_uri}
<script type="text/javascript" src="{$js_uri}"></script>
    {/foreach}
{/if}
 
       
                                
 
   
     <script type="text/javascript" src="{$js_dir}jquery.easing.1.3.js"></script> 
        <script type="text/javascript" src="{$js_dir}jquery.iosslider.min.js"></script>        
<script type="text/javascript" src="{$js_dir}script.js"></script> 
        <script type="text/javascript" src="{$js_dir}modernizr-2.5.3.min.js"></script>
        
    
 
<script>
$(document).ready(function() {
 
if (!$( "body" ).hasClass( "lang-fr" ) ){
$('#header .sf-contener li:eq(5)').remove();
});
</script>
 
 
                      {$HOOK_HEADER}
</head>
Edited by xavier113 (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...