The head of this webpage includes:
<script
src="https://analytics.toes.ch/api/script.js"
data-site-id="faa22b37cf7c"
defer
></script>
Analytics are public and available here.
This is an outbound link that should be tracked:
Outbound link
This button has a custom event attribute:
<button
data-rybbit-event="show_cat"
data-rybbit-prop-product="randomcat"
data-rybbit-prop-price="0.00"
>
Show me a cat!
</button>
Alternatively, this button uses an onclick listener and a function in JS:
<button
class="btn btn-primary"
onclick="trackEvent()"
>
Bark like a dog!
</button>
<script>
function trackEvent() {
window.rybbit.event("woof", {
dog: "randomdog",
price: 0.00,
});
alert("Woof!");
}
</script>