Fatal Error with javascript code inserted
-
Hello,
My client’s site is https://texasbariatricspecialists.com/. I have a custom link in the top right button called eStore. I need to add Google Analytics tracking for clicks from that button. I have your plugin installed. When I input the following javascript into the javascript box for that button, I get an error as soon as I go to the website.code I am using in the javascript box:
_gaq.push([‘_trackEvent’, ‘Click’, ‘ThisButton’, ‘Yes’]);
window.location =”https://www1.bariatricadvantage.com/service/referrerCode?referrer=TBS”Error that is on the top of the page with that script in place:
Fatal error: Call to undefined function iconv() in /home/tbs001/public_html/wp-content/plugins/jin-menu/jinmenu.php on line 72If I remove the javascript from the box, the error goes away.
What am I doing wrong? Also since I installed the plugin I removed the Google Analytics code from the header.php file.
Thanks!
Greg McComish
- The topic ‘Fatal Error with javascript code inserted’ is closed to new replies.