How would I go about this?

The following scenario:

I have a endless scrolling landing page.

I want to track which content sections the user has seen - aka how far they have scrolled down.

I also want to track clicks on certain CTA elements, the menu, etc.

I want to EXCLUSIVELY trigger those events through JavaScript on my website.

The data should be listed as actions for the visits.

I do not want to set up different goals per content section. There should be one goal “content section seen” and I give it the name of the content section as parameter.

The same for Clicks on elements.

As of my understanding, this is not possible with goals. So I tried with MTM, which worked somehow, but it is insanely complicated to set up MTM. I’m not willing to go that deep for just a little bit of basic tracking.

So what other options do I have?

1 Like

I might not be understanding here, but can you not send them up as events, with the content as a parameter, then build a funnel based on those events, the same way that you’d track completion in a checkout process.

You mention MTM, this would be a doddle using the elementvisibility trigger in GTM, is there something similar in MTM?

have you got some solution ?

Hi @mattymedlyn, @fredfred
MTM provides such trigger:
image

2 Likes

As per my original post:

I want to EXCLUSIVELY trigger those events through JavaScript on my website.

I won’t touch MTM. It’s bloated with bad documentation and I need to configure everything in the Matomo UI which is horrible and also impossible to maintain, given that people recommend to run multiple sites to handle different environments. See: How to set up dev/staging/prod environments - #2 by imark

I have implemented my own solution.