Content tracking not coming through

Hello fellow developer.

I am not able to get content tracking working in Matomo 4.4.1.

Event tracking works fine, now I want to implement content tracking so data shows up in Behaviour > Contents.

I followed the manual and enabled content tracking so the current Javascript looks like this:

	var _paq = window._paq = window._paq || [];
	_paq.push(['trackPageView']);
	_paq.push(['enableLinkTracking']);
	_paq.push(["trackAllContentImpressions"]);
	(function() {
	var u="//matomo-test.nfshost.com/matomo/";
	_paq.push(['setTrackerUrl', u+'matomo.php']);
	_paq.push(['setSiteId', '3']);
	var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
	g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
	})();

I enhanced various elements on my page with data-attributes such as data-track-content and data-content-name.

When I go to the Chrome Dev console and type in _paq.push([‘logAllContentBlocksOnPage’]) I get an array of all the elements.

When accessing the website and clicking on a button or link that has the data-track-content attribute a request in the Google Dev Tools Network tab is fired just fine, like e.g. this one:

https://matomo-test.nfshost.com/matomo/matomo.php?c_i=click&c_n=Merkzettel%20>%20ausdrucken&c_p=Button&c_t=Drucker&ca=1&idsite=3&rec=1&r=956539&h=13&m=45&s=35&url=http%3A%2F%2Flocalhost%2FpageIntro&_id=&_idn=1&_refts=0&send_image=0&pdf=1&qt=0&realp=0&wma=0&fla=0&java=0&ag=0&cookie=1&res=1920x1080&pv_id=DrZS1j

However, when I go to Matomo > Dashboard > Contents nothing is displayed. I only get “There is no data for this report”. My Matomo is set up to gather the data every 10 seconds but even if I wait nothing shows up. The date is set correctly as well inside Contents.

I now enabled debbuging in config.ini.php but I got no clue where the debug information should appear.

Any help on how to get content tracking working would be cool!