As a non-developer I want to track the scroll depth of my pages in order to get a better understanding of my user’s behaviour on my pages and and be able to improve upon.
I really like the article about scroll depth and I personally can’t handle it. Since I’m not a programmer it’s really hard for me to abstract the scenario with Hugo and adapt it to my case.
What would be perfect is if there was a way to simply add 1 or 2 JS-snippets to my pages in order to track scroll depth (considering of the math with min and max reading time) on my dashboard. The variables about “page title” and “word count” I could easily set by hand since I don’t have such an amount of different pages.
So my question is if someone is able to provide a “non generic” JS-snippet which I can past in my pages?
thanks for your quick reply. Our websitebuilder tool allows us to set html- and JS-script-tags in header and footer. That’s how we implemented the pirsch-tracking-snippet.
I’m not sure how we should call your scrolldepth-script. Could you explain in more detail, please? Of course we can count the articel words by ourselves and write them somewhere.
Of course, you need to adjust the src attribute to match your upload path. The “id” needs to be pascrode. data-steps will round the scroll depth (10 = 10%, 20%, …), while any other data-* attribute is tracked as is. You can use this for the word count or title. data-event-name will change the event name (“Scroll Depth” by default).