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

Am incercat insa primesc aceeasi eroare. Acum am incercat sa introduc scriptul de analytics...

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

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...

Important Information

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