@anonymous-matomo-user opened this Issue on December 4th 2012

I am running the piwik 1.9.2 on my server but I do not see any custom variables in the visitor log - scope "page" - also not as an tooltip. There is only the tooltip shown how often the page was visted, if the page was visited more then once.

In the piwik modul "custom variables" the variables are shown correct so that the bug should somewhere in the vistor log.

So it is hard to analyze the vistor actions compared to "GET"-formulars.

Setup is here:

  • formular with POST-method
  • piwik-JS-Code-Example:
    <script type="text/javascript">
    try {
    var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 6);
    piwikTracker.setCustomVariable(1, "Name", "Aceton", "page");
    piwikTracker.setCustomVariable(2, "HazardClass", "USHMR-3", "page");
    piwikTracker.setCustomVariable(3, "Size", "", "100");
    piwikTracker.setCustomVariable(4, "Group", "", "5");
    } catch( err ) {}

Keywords: custom variables visitor log page

@anonymous-matomo-user commented on December 4th 2012

Attachment: Screenshot Visitor Log

@anonymous-matomo-user commented on December 4th 2012

Attachment: Screenshot modul custom variables (working)

@mattab commented on December 13th 2012 Member

I notice that the custom variable is not displayed if the value is empty.

However the bug you report, is because the tooltip shows the custom variables for the "first unique pgaeview". When pages are collapsed and 2X is added, the first tooltip remains (so maybe you dont set your custom variable on the first page view?)

@mattab commented on December 13th 2012 Member

(In [7607]) Fixes #3590 Display custom variable tooltip even if custom variable value is empty

This Issue was closed on December 13th 2012
Powered by GitHub Issue Mirror