I have a lot of external links and want to track when they are clicked in a specific element. Therefore we implemented the content tracking.
For content impression it works perfect. Every marked content is counted as impression.
But when in comes to tracking the interaction (click on link) only internal links or random clicks (somewhere in the content) are tracked. External links are never tracked.
We use the Tag Manager. Our developer added a checkbox in the typo3 backend that must be activated in order to be tracked. The HTML of a marked element then looks like this (I hope I copied the right section)
this is the element on the website:
HTML:
<a href="https://www.handicap-international.de/de/neuigkeiten/kaffeeanbau-ohne-angst-vor-minen" target="_blank" class="ce-link" data-track-content="1" data-content-name="Landminen weltweit" data-content-piece="Kaffee ohne Angst vor Minen" rel="noreferrer">
Our developer says that tracking is activated and should work for external links as well as for internal links.
On the linked site there are only external link that should be tracked: the container with the id c22099. (Image of a Farmer with overlaid box) as well as the container c22216 (links to stories at the bottom of the page).
Hi @Ruso
Sorry, I don’t see any tracking… ! No page view, no other event. Even if I click on anchors, internal links or external links…
Are you sure the tracking container (7hamZhRU) is well deployed?
EDIT:
I finally understood why I did not see any tracking. Because of the enableDoNotTrack configuration. I suggest you disable this (on your server and in the MTM configuration variable), as only few browsers use this, and on some of them, users (visitors) are even not aware of this browser configuration or cannot change it.
Hi @Ruso
The DNT is not the problem you encounter, but this is the one I encounter to test your page (I can’t test your tracking as I can’t change my browser behavior on DNT).
I suggest you disable the DNT because:
Some browser do not implement it
Other don’t allow the user choice of DNT value
Most of the time, users don’t know this parameter, then if they would accept the tracking… they can’t (because they don’t know)
This is now non-standard and deprecated (see link below)