Hello,
I have a problem with content tracking because I don’t get the data from the defined content blocks in reporting/analytics output.
I use the tag manager and I defined a matomo configuration where I enabled “Track All Content Impressions”.
I created a trigger of type custom event with a tag of type custom html with the following script:
<script>
console.log('trackAllContentImpressions-Tag');
_paq.push(['trackPageView']);
_paq.push(['trackAllContentImpressions']);
_paq.push(['logAllContentBlocksOnPage']);
</script>
I see the console log output and all the content blocks like this:
[
{
"name": "job-box-list",
"piece": "job-list-item-9b64c1dd-3471-441e-b0f5-aeb35f5811c9",
"target": "/stellenangebote/9b64c1dd-3471-441e-b0f5-aeb35f5811c9"
},
{
"name": "job-box-list",
"piece": "job-list-item-b97c5e1c-3296-4fa9-8512-59f8d46d3711",
"target": "/stellenangebote/b97c5e1c-3296-4fa9-8512-59f8d46d3711"
},
{
"name": "job-box-list",
"piece": "job-list-item-48fd9ef9-7cb2-4eb4-80db-38c1e30d98f9",
"target": "/stellenangebote/48fd9ef9-7cb2-4eb4-80db-38c1e30d98f9"
},
{
"name": "job-box-list",
"piece": "job-list-item-1697910b-8eb9-4b07-825f-c6bf4897cf78",
"target": "/stellenangebote/1697910b-8eb9-4b07-825f-c6bf4897cf78"
},
{
"name": "job-box-list",
"piece": "job-list-item-7cc6a2ec-0d3b-4719-a76b-8e05e9787c1d",
"target": "/stellenangebote/7cc6a2ec-0d3b-4719-a76b-8e05e9787c1d"
},
{
"name": "pb-section-homepage-search-buttons",
"piece": "button-iPark-Media GmbH",
"target": "https://ipark-media.de"
},
{
"name": "pb-section-homepage-search-buttons",
"piece": "button-Promotion",
"target": "https://ipark-media.de"
},
{
"name": "pb-section-homepage-search-buttons",
"piece": "button-Merchandising",
"target": "https://ipark-media.de"
},
{
"name": "pb-section-homepage-hero",
"piece": "Section",
"target": ""
}
]
But I don’t see any data tracked as content impressions in the report. I tried multiple different variants and settings but I don’t get it.
Hope someone can help me to solve the problem!
Best regards,
Timo