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
Quote from: RonR on January 22, 2021, 02:09:40 PM
Ended up putting the code in the template file as a workaround.
this is the right way, not in input fields to prevent
Cross-site scripting (XSS) (https://en.wikipedia.org/wiki/Cross-site_scripting#Exploit_examples)Dietmar
Maybe also possible.
Create a new droplet, add your code like this:
$gacode = '<script>...</script>';
return $gacode;
Ok, all clear!
Was just not sure.
Thanks for clarification!