Adding Google Anyalytics And It Will Not Save - Question | JoomShaper

Adding Google Anyalytics And It Will Not Save

CM

Christopher Malley

SP Page Builder 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.

0
3 Answers
M
Martin
Accepted Answer
2 years ago #140142

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 :)

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #140146

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.

0
M
Martin
Accepted Answer
2 years ago #140157

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 ;)

0