Closed MagicLike closed 2 years ago
I'm a bit confused.
This is the reason why we added the advanced config. We already have this feature; it's right at the top.
You can add any analytics code or custom HTML/JS in the Insert your analytics code here:
field.
/* |-------------------------------------------------------------------------- | Analytics |-------------------------------------------------------------------------- | | Add external analytics services to your LittleLink Custom instance by adding them below. | Everything you enter below will be added to the tag of every page. | Formatting in plain HTML is expected. | */ <<EOD;;
Ahh, I thought, it was only for Goggle Analytics! Would it be possible, to change that to something like "Insert custom HTML / JS here:"?
I will probably add a note clarifying this. However, I can not add this note for existing instances, only to new setups.
Thank you for clarifying this and adding the note! 😃
It would be nice to be able to inject code into the
<head>
, e.g. through theadvanced-config.php
so that it is available on every page. For example, alternative analytics like Umami can be supported this way without having to integrate them.