Content tracking for sole impression of a text block

Hi everyone,
Not clear for me in the Content Tracking doc wether it works to track a block which is neither a link or a clickable image.
I want to track that users read fully the (sometimes quite long) articles of a blog. I’d like to monitor the impression of the bottom of the page. It’s a list not an image or a link.
Can I add this code in my html?

<div data-track-content data-content-name="Bottom page" data-content-piece="You read it all congrats">
    <p>Thanks for reading it all!

It should work!
Just don’t forget to activate content impressions.

For JavaScript tracking

With Matomo Tag Manager

Awsome! Thanks a lot for your quick answer. I’m going to try it :slight_smile: