Jump to content

Bing Ads Tracking code = erreur 500

Recommended Posts


J'essaie d'intégrer le Tracking code de Bing Ads mais lors de l'insertion du code entre <head></head>, au début ou à la fin du <body>, cela provoque invariablement une erreur 500.

Le serveur renvoie cette erreur : [Thu Feb 07 15:12:25.991293 2019] [:error] [pid 24797] [client xx.xx.xx.xx:xxxxx] PHP Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "CMS_PATH/themes/big-twin-city/header.tpl" on line 98 "" unknown tag "var" <-- \n thrown in CMS_PATH/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 98

Le script fourni par Bing Ads est le suivant <script>(function(w,d,t,r,u){var f,n,i;w=w||[],f=function(){var o={ti:"25038888"};o.q=w,w=new UET(o),w.push("pageLoad")},n=d.createElement(t),n.src=r,n.async=1,n.onload=n.onreadystatechange=function(){var s=this.readyState;s&&s!=="loaded"&&s!=="complete"||(f(),n.onload=n.onreadystatechange=null)},i=d.getElementsByTagName(t)[0],i.parentNode.insertBefore(n,i)})(window,document,"script","//bat.bing.com/bat.js","uetq");</script>

Est-ce que quelqu'un aurait une idée ? Merci d'avance !


Edited by Thomas
miss clic... (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...