Adding Google Anyalytics and it will not save - Forum | JoomShaper
Awaiting an answer SP Page Builder

Adding Google Anyalytics and it will not save

Asked by Christopher Malley 2 years ago Last activity 2 years ago

I am trying to add my Google Anylitics code in the custom code area.

When I do, the site says drafting with a spinning circle and then an "Error:Undefined" pops up. The same error occurs when I try to save it as well.

Any help would be appreciated.

2 replies

Martin Grunert

Hi Christopher,

Your provider has a high security standard.

Go to your domain settings and temporarily deactivate the provider firewall WAF. Wait a short time, then saving will work. Then reactivate the firewall.

Disadvantage: every time you change the template settings, you have to deactivate the firewall again.

best regards :)

Paul Frankowski Senior Staff
2 years ago · edited

Hi Christopher,

Thx Martin.

Indeed, It can be mod_security settings in CPanel, as we informed in Helix Documenation.

OR

If you do not have access to cPanel somehow to disable that for few minutes, please install Phoca Site plugin and there you can find field to add tracking code etc.

Martin Grunert

Youre welcome :)

Phoca is also an interesting solution, I hadn't seen it before when I had the problem. But it's also been a few years since I had it ;)

Log in to reply.