Jump to content
bluestyle

Eroare integrare script FB in header

Recommended Posts

Salut,

 

Incerc sa integrez FB Pixel insa primesc eroare atunci cand introduc scriptul in header, desi este codul original furnizat de fb, fara nicio modificare. Eroarea arata asa:

 

Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "public_html/themes/autumn/header.tpl" on line 78 "!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?" - Unexpected ".", expected one of: "","" , ")" <-- thrown in /public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 78

 

Am golit cache insa nu am rezolvat nimic.

Share this post


Link to post
Share on other sites

evident!

 

scriptul ala trebuie sa-l intorduci intr-o "anvelopa" adica <literal>

 

<literal>

---scriptul meu frumos----

</literal>

Share this post


Link to post
Share on other sites

prestashop are modul dedicat de analytics

folositi-l pe acela!

 

trebuie sa introduceti doar id-ul, ala cu UA-...

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