WebsiteBaker Support (2.13.x) > General Help & Support
General settings
(1/1)
RonR:
Just a question:
updated from 2.12 to 2.13 rc26
PHP7.3
I had my Google Analytics code on:
Settings->General Settings-> Website footer.
After update the code is gone. Also gone in the database.
New entry of the script in this field is not being recorded/saved.
Is this normal behaviour? I can not recall during previous updates to have the code gone away.
Ended up putting the code in the template file as a workaround.
Greetz,
Ron
Luisehahne:
--- Quote from: RonR on January 22, 2021, 02:09:40 PM ---Ended up putting the code in the template file as a workaround.
--- End quote ---
this is the right way, not in input fields to prevent Cross-site scripting (XSS)
Dietmar
dbs:
Maybe also possible.
Create a new droplet, add your code like this:
--- Code: ---$gacode = '<script>...</script>';
return $gacode;
--- End code ---
RonR:
Ok, all clear!
Was just not sure.
Thanks for clarification!
Navigation
[0] Message Index
Go to full version