Or maybe the lemmy source code should include a canonical tag to the original host’s post?
Or maybe the lemmy source code should include a canonical tag to the original host’s post?
Would it be a better idea to exclude any URLs that are similar to /c/*@*.*
I think that would block external communities but keep local ones still indexable in their native locations.
Yeah exactly that 👍 It’s a self hosted web analytics platform but also has Tag Management available via a first party plugin. It is very comparable to GTM and if you have some frontend JavaScript knowledge it has everything you’d reasonably need I think.
If you’re still looking for a solution, have you thought about using a native JavaScript solution?
It could be as simple as placing a click listener on the body element of each page and then having a list of CSS selector rules. Matches is a JS function that you can pass a CSS selector too, so each click that occurs you can loop through an array of selectors.
Alternatively, that array of selectors could be the elements you attach the listeners to directly.
I’d be happy to help create some examples, if you have any extra context 👍
This seems quite similar to Segment’s offering. Matomo (formerly Piwik) have a self hosted tag management system that could be slightly closer to Google Tag Manager configuration for anyone who is looking for a like for like replacement.
They also have a mature and self hosted analytics package too.
After reading this post a few days back, I was inspired to get some Ghee and try it out. Absolutely delicious, thank you @fubo@lemmy.world!