in line 68, you should delete character 89 to 92 (
amp;), this line should include
...matomo.php?idsite=1&rec=1... and not contain a ampersanded ampersand
@supervisitor thanks for creating the issue. Do you have an actual issue with the tracker generator? the double escaped
& might be expected there.
I think twice when I saw the result
&amp; in the generated tracker code.
Since then, I have been considering
&quot; on the same line... yes, I know the difference an reason for this
&, but somewhere I suspect a nesting error.
I will double check tomorrow and come back with a more detailed report.
Thanks. I just checked the regular output and there things look good see eg https://demo.matomo.org/index.php?module=API&format=json&method=SitesManager.getImageTrackingCode&idSite=62&period=day&date=yesterday and embedding eg
<img src="//example.matomo/matomo.php?idsite=1&rec=0" style="border:0" alt="" />
worked for me. It's only that in the tests it is encoded like this.
Sorry, I'm not one to just carelessly submit an issue report. Please close it, this error happens only in a very special version and only installed here. 😳
Apologize again for the trouble I have caused.
No problem :slightly_smiling_face: