parmesancrabs@lemmy.mltoFree and Open Source Software@beehaw.org•Google Tag Manager FOSS alternative?English
2·
2 years agoIf 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 might suit you? https://store.steampowered.com/app/1512590/Punch_A_Bunch/