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
Can you please look, in the table log_conversion if the custom variables are properly recorded for your goals?
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)
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?
Maybe this helps?
http://node.gordo4.com/snaps/8b0f61dec8f8d0dbfbd02a76b379674f.png
Cross-posted over here as well: http://forum.piwik.org/read.php?2,79288
Assuming dupe of: #2564