Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trackContentInteractionNode "There is no data for this report." #12445

Open
matomoto opened this issue Jan 15, 2018 · 1 comment
Open

trackContentInteractionNode "There is no data for this report." #12445

matomoto opened this issue Jan 15, 2018 · 1 comment

Comments

@matomoto
Copy link

Hello, I want to track internal link clicks, but not the contents visit. I used "trackContentInteractionNode", but it does not show any data under "Contents".
Here are some tests. Please check yourself and make a judgment.

1#######################################################

<div>
<a id="testclick" class="piwikTrackContent piwikContentPiece" href="/test/click/">
<img class="" src="/test/click/PICT1234.JPG" alt="" width="200" height="150">
</a>
</div>
---
document.getElementById("testclick").addEventListener('click', function () {
_paq.push(['trackContentInteractionNode', this]);
});
---
    <li class="content" title="Jan 15, 2018 12:42:16
https://www.example.com/test/click/
Content Name: Unknown
Content Piece: Unknown
Content Target: https://www.example.com/test/click/
Content Interaction: Unknown" value="11">
    <div>
                <span class="icon-document action-list-action-icon" title="Content Interaction"></span>
                            [Unknown]
                Unknown -
        Unknown
    </div>
</li>
---
Actions
- Contents
-- Content Name "There is no data for this report."
-- Content Piece  "There is no data for this report."

2#######################################################

<div>
<a href="/test/click/">
<img id="testclick" class="piwikTrackContent piwikContentPiece" src="/test/click/PICT1234.JPG" alt="" width="200" height="150">
</a>
</div>
---
document.getElementById("testclick").addEventListener('click', function () {
_paq.push(['trackContentInteractionNode', this]);
});
---
    <li class="content" title="Jan 15, 2018 12:52:06
https://www.example.com/test/click/
Content Name: /test/click/PICT1234.JPG
Content Piece: https://www.example.com/test/click/PICT1234.JPG
Content Interaction: Unknown" value="14">
    <div>
                <span class="icon-document action-list-action-icon" title="Content Interaction"></span>
                            [Unknown]
                /test/click/PICT1234.JPG -
        https://www.example.com/test/click/PICT1234.JPG
    </div>
</li>
---
Actions
- Contents
-- Content Name "There is no data for this report."
-- Content Piece  "There is no data for this report."

3#######################################################

<div>
<a class="piwikTrackContent piwikContentPiece" href="/test/click/">
<img class="" id="testclick" src="/test/click/PICT1234.JPG" alt="" width="200" height="150">
</a>
</div>
---
document.getElementById("testclick").addEventListener('click', function () {
_paq.push(['trackContentInteractionNode', this]);
});
---
    <li class="content" title="Jan 15, 2018 12:38:33
https://www.example.com/test/click/
Content Name: Unknown
Content Piece: Unknown
Content Target: https://www.example.com/test/click/
Content Interaction: Unknown" value="8" id="ui-id-1">
    <div>
                <span class="icon-document action-list-action-icon" title="Content Interaction"></span>
                            [Unknown]
                Unknown -
        Unknown
    </div>
</li>
---
Actions
- Contents
-- Content Name "There is no data for this report."
-- Content Piece  "There is no data for this report."

4#######################################################

<div>
<a id="testclick" href="/test/click/">
<img class="piwikTrackContent piwikContentPiece" src="/test/click/PICT1234.JPG" alt="" width="200" height="150">
</a>
</div>
---
document.getElementById("testclick").addEventListener('click', function () {
_paq.push(['trackContentInteractionNode', this]);
});
---
(not tracked)
---
Actions
- Contents
-- Content Name "There is no data for this report."
-- Content Piece  "There is no data for this report."

5#######################################################

<div>
<a id="testclick" class="piwikTrackContent" href="/test/click/">
<img class="piwikContentPiece" src="/test/click/PICT1234.JPG" alt="" width="200" height="150">
</a>
</div>
---
document.getElementById("testclick").addEventListener('click', function () {
_paq.push(['trackContentInteractionNode', this]);
});
---
    <li class="content" title="Jan 15, 2018 13:11:22
https://www.example.com/test/click/
Content Name: /test/click/PICT1234.JPG
Content Piece: https://www.example.com/test/click/PICT1234.JPG
Content Target: https://www.example.com/test/click/
Content Interaction: Unknown" value="25">
    <div>
                <span class="icon-document action-list-action-icon" title="Content Interaction"></span>
                            [Unknown]
                /test/click/PICT1234.JPG -
        https://www.example.com/test/click/PICT1234.JPG
    </div>
</li>
---
Actions
- Contents
-- Content Name "There is no data for this report."
-- Content Piece  "There is no data for this report."

6#######################################################

<div>
<a class="piwikTrackContent" href="/test/click/">
<img id="testclick" class="piwikContentPiece" src="/test/click/PICT1234.JPG" alt="" width="200" height="150">
</a>
</div>
---
document.getElementById("testclick").addEventListener('click', function () {
_paq.push(['trackContentInteractionNode', this]);
});
---
    <li class="content" title="Jan 15, 2018 12:28:48
https://www.example.com/test/click/
Content Name: /tst/click/PICT1234.JPG
Content Piece: https://www.example.com/test/click/PICT1234.JPG
Content Target: https://www.example.com/test/click/
Content Interaction: Unknown" value="4" id="ui-id-1">
    <div>
                <span class="icon-document action-list-action-icon" title="Content Interaction"></span>
                            [Unknown]
                /tst/click/PICT1234.JPG -
        https://www.example.com/test/click/PICT1234.JPG
    </div>
</li>
---
Actions
- Contents
-- Content Name "There is no data for this report."
-- Content Piece  "There is no data for this report."

7#######################################################

<div>
<a id="testclick" class="piwikContentPiece" href="/test/click/">
<img class="piwikTrackContent" src="/test/click/PICT1234.JPG" alt="" width="200" height="150">
</a>
</div>
---
document.getElementById("testclick").addEventListener('click', function () {
_paq.push(['trackContentInteractionNode', this]);
});
---
(not tracked)
---
Actions
- Contents
-- Content Name "There is no data for this report."
-- Content Piece  "There is no data for this report."

8#######################################################

<div>
<a class="piwikContentPiece" href="/test/click/">
<img id="testclick" class="piwikTrackContent" src="/test/click/PICT1234.JPG" alt="" width="200" height="150">
</a>
</div>
---
document.getElementById("testclick").addEventListener('click', function () {
_paq.push(['trackContentInteractionNode', this]);
});
---
    <li class="content" title="Jan 15, 2018 13:18:11
https://www.example.com/test/click/
Content Name: /test/click/PICT1234.JPG
Content Piece: https://www.example.com/test/click/PICT1234.JPG
Content Interaction: Unknown" value="30">
    <div>
                <span class="icon-document action-list-action-icon" title="Content Interaction"></span>
                            [Unknown]
                /test/click/PICT1234.JPG -
        https://www.example.com/test/click/PICT1234.JPG
    </div>
</li>
---
Actions
- Contents
-- Content Name "There is no data for this report."
-- Content Piece  "There is no data for this report."

#######################################################

@heurteph-ei
Copy link

Hi @mattab
The same as #17109?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants