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

Custom Variable Reports finding no data #2354

Closed
anonymous-matomo-user opened this issue Apr 23, 2011 · 7 comments
Closed

Custom Variable Reports finding no data #2354

anonymous-matomo-user opened this issue Apr 23, 2011 · 7 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Milestone

Comments

@anonymous-matomo-user
Copy link

I am attempting to use the custom variable feature. The results are HALF working: within Visitors -> Visitor Log, the custom variables are shown. However, when I look at Goals -> Overview -> View Goals by Visit -> Custom Variables, I get a "no data" message.

The goals are being recorded properly, and they will filter correctly by other parameters (country, referrer, etcetera) but not by custom variable. This is true either from Visitors -> Custom Variables or Goals -> Overview -> View Goals by Visit -> Custom Variables

My code is straightforward:

[...]

piwikTracker.setCustomVariable(1,"AB-Switch", "2");

piwikTracker.trackPageView();

[...]

Installed Version: 1.3
Keywords: Custom Variable

@mattab
Copy link
Member

mattab commented Apr 26, 2011

Can you please look, in the table log_conversion if the custom variables are properly recorded for your goals?

@mattab
Copy link
Member

mattab commented Apr 28, 2011

It looks like it is working fine in the demo. The only thing I can think of is that, the Custom Vars will be shown in the Goal view, ONLY if the custom variables were set to the visit BEFORE the goal conversion occured (since variables are copied in the log_conversion when conversion occurs)

@mattab
Copy link
Member

mattab commented Apr 28, 2011

please confirm and post a comment if you still have a problem

@anonymous-matomo-user
Copy link
Author

I'm having the same issue.

I have confirmed that custom vars are not being set in the log_conversion table but are being set in log_visit.

I'm using the PHP API instead of Javascript if that helps narrow things down at all..

I have tried using both visit and page scoped vars... And help?

@anonymous-matomo-user
Copy link
Author

@anonymous-matomo-user
Copy link
Author

Cross-posted over here as well: http://forum.piwik.org/read.php?2,79288

@mattab
Copy link
Member

mattab commented Jul 14, 2011

Assuming dupe of: #2564

@anonymous-matomo-user anonymous-matomo-user added this to the 1.4 - Piwik 1.4 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

2 participants