Hachemi Posted February 24 Share Posted February 24 Hello, Today i try to setup my forum to add Google Analytics, but now i have all my JavaScript on my forum completely bugged, and can't do anything on it, i just can clic on links. I just enabled and paste the code (provided by Google) in the Google Analytics default plugin, nothing exotic ... I got this code in bottom of the page : ; ipsSettings['maxImageDimensions'] = { width: 1000, height: 750 }; You can check on every pages : https://motardo.com/ I try several things : clear cache disable customization disable and remove google analytics code try to find out in template files if any file are modified with an unwanted semicolon It's seems there is an rebel semicolon, but i can't find where it is ... When I change the "Maximum image dimensions to display" (to unlimited for example) i got only the semicolon, but JavaScript still down. What I'm missing ? Link to comment Share on other sites More sharing options...
Jim M Posted February 24 Share Posted February 24 Could you please clarify where you've added this script? In the Google Analytics Integration area, even if I disable that, the script error is still present and I am seeing two inclusions. Link to comment Share on other sites More sharing options...
Hachemi Posted February 24 Author Share Posted February 24 (edited) Oh I remember now, in the first place I added it in the Header and Footer HTML section in the theme, but quickly removed it because saw there is a default plugin ready to use. Here in the first place : I just put this code on this 2 sections, did nothing else. Edited February 24 by Hachemi Link to comment Share on other sites More sharing options...
Jim M Posted February 24 Share Posted February 24 1 hour ago, Hachemi said: Oh I remember now, in the first place I added it in the Header and Footer HTML section in the theme, but quickly removed it because saw there is a default plugin ready to use. Here in the first place : I just put this code on this 2 sections, did nothing else. I would advise removing it from there and placing it in the Google Analytics Integration in ACP -> System -> Integrations -> Google Analytics. Link to comment Share on other sites More sharing options...
Hachemi Posted February 24 Author Share Posted February 24 (edited) 4 minutes ago, Jim M said: I would advise removing it from there and placing it in the Google Analytics Integration in ACP -> System -> Integrations -> Google Analytics. Of course I did it before coming here post this problem. I've clean all what I can, for now I completely removed the Google Analytics code, but JavaScript still down. Edited February 24 by Hachemi Link to comment Share on other sites More sharing options...
Solution Jim M Posted February 24 Solution Share Posted February 24 7 minutes ago, Hachemi said: Of course I did it before coming here post this problem. I've clean all what I can, for now I completely removed the Google Analytics code, but JavaScript still down. Unfortunately, you still left some code in ACP -> System -> Advanced Configuration -> Page Output. I have removed that for you now. You will want to insert it in: ACP -> System -> Integrations -> Google Analytics. SeNioR- and Hachemi 1 1 Link to comment Share on other sites More sharing options...
Hachemi Posted February 24 Author Share Posted February 24 1 minute ago, Jim M said: Unfortunately, you still left some code in ACP -> System -> Advanced Configuration -> Page Output. I have removed that for you now. You will want to insert it in: ACP -> System -> Integrations -> Google Analytics. Many thanks for your help. Link to comment Share on other sites More sharing options...
Jim M Posted February 24 Share Posted February 24 You're most welcome! Hachemi 1 Link to comment Share on other sites More sharing options...
Recommended Posts