When I copy the code exactly as it is displayed it does not work on all pages. Sometimes an error 403 is encountered when trying to load the script. A precondition to encounter the behavior is that "Allowed origins" is set.
From my observation the reason is that in the GET request does not include an Origin Header which is needed if the option "allowed origins" is set. To fix the behavior the following attribute must included referrerpolicy="origin"
It might be a good idea to add it to the displayed code for embedding the statistics (at least if "allowed origins" is set).
When I copy the code exactly as it is displayed it does not work on all pages. Sometimes an error 403 is encountered when trying to load the script. A precondition to encounter the behavior is that "Allowed origins" is set.
From my observation the reason is that in the GET request does not include an Origin Header which is needed if the option "allowed origins" is set. To fix the behavior the following attribute must included
referrerpolicy="origin"
It might be a good idea to add it to the displayed code for embedding the statistics (at least if "allowed origins" is set).