Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Custom Variables in the Visitor Log - Scope "Page" not shown when no value set #3590

Closed
anonymous-piwik-user opened this Issue · 4 comments

2 participants

@anonymous-piwik-user

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"); piwikTracker.trackPageView(); piwikTracker.enableLinkTracking(); } catch( err ) {} </script>

Keywords: custom variables visitor log page

@anonymous-piwik-user

Attachment: Screenshot Visitor Log
2012-12-04_05-59-48.jpg

@anonymous-piwik-user

Attachment: Screenshot modul custom variables (working)
2012-12-04_05-59-48_2.jpg

@mattab
Owner

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
Owner

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

@anonymous-piwik-user anonymous-piwik-user added this to the 1.10 - Piwik 1.10 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.