Jump to content

Recommended Posts

Hello, I want to activate my Facebook pixel so I need to add Facebook pixel code in header.tpl file above <head> but when I edit /themes/simplio/templates/_psrtials/header.tpl (thats where I can find my header.tpl file for my theme) I can't find <head> to paste the code above it.

Is this the right header.tpl files or do I need to find another one?

 

 

Share this post


Link to post
Share on other sites

Hello, There is no head in header.tpl file. You have to had your pixel on top of the file between this : 

{literal}
<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)

[...]
 
 
 <!-- End Facebook Pixel Code -->
{/literal}

 

Share this post


Link to post
Share on other sites
17 hours ago, LeSchtroumpf said:

Hello, There is no head in header.tpl file. You have to had your pixel on top of the file between this : 


{literal}
<!-- Facebook Pixel Code -->
<script>
!function(f,b,e,v,n,t,s)

[...]
 
 
 <!-- End Facebook Pixel Code -->
{/literal}

 


Hello again, so should I just paste the pixel in the beginning of the file?

 

 

E34C5643-E568-46BC-8D70-3EC548E34343.jpeg

Share this post


Link to post
Share on other sites

You have separate file named head.tpl which serves the obvious (<head></head>). Check it out and let us know.

Share this post


Link to post
Share on other sites
18 minutes ago, tapanda.gr said:

You have separate file named head.tpl which serves the obvious (<head></head>). Check it out and let us know.

This is the whole code in head.tpl and there is no (<head></head>)

CA28725C-3C40-48C1-ABCF-68351BACF6A1.jpeg

Share this post


Link to post
Share on other sites

Yeah because the devs have put it outside and call the content (strange I know). Have a look here 

Στιγμιότυπο 2020-02-13, 13.48.07.png

Share this post


Link to post
Share on other sites

Hi I want import product from prestashop 1.7 to facebook shop using facebook pixel but I get notice "Not ready". Code it seems to be corect I putted in file file head.tpl. Did someone has similar problem ?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More