Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5706

Content Tracking stops working when trackVisibleContentImpressions

$
0
0

@ChadiRachid wrote:

Hello,
I’m facing an issue with content tracking. The goal is to track the impressions on a block of html code.

A div is placed (initially hidden) on a page with the correct html attributes.
If in the tracking snippet I do not include any statement about content tracking, the content is tracked correctly, regardless whether the content is visible or not.

However, if I add “_paq.push([‘trackVisibleContentImpressions’, true, 750]);” to the page, content tracking stops working, even after the content becomes visible and scrolls into view.

Worth noting that the content is loaded dynaically, and there fore the statement “_paq.push([‘trackContentImpressionsWithinNode’, domNode]);” is executed every time a new div is added.

If anybody can shed some light on this, it would be highly appreciated.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5706

Trending Articles