Customvariable segment filter don't works with archive


#1

Hey everyone,

I have created a customvariable like this: customVariablePageValue1==7
Than i have activated the option with archiving. After the archiving proccess, the count about pageviews are not counted.

The cron archive proccess work well:


INFO CoreConsole[2015-03-05 12:02:37] ---------------------------
INFO CoreConsole[2015-03-05 12:02:37] START
INFO CoreConsole[2015-03-05 12:02:37] Starting Piwik reports archiving...
INFO CoreConsole[2015-03-05 12:02:52] Will pre-process the following 2 Segments for this website (id = 1): visitIp==80.147.169.28, customVariablePageValue1==7
INFO CoreConsole[2015-03-05 12:02:57] Archived website id = 1, period = day, 18313 visits in last last2 days, 5458 visits today, Time elapsed: 19.524s
INFO CoreConsole[2015-03-05 12:02:57] Will pre-process the following 2 Segments for this website (id = 1): visitIp==80.147.169.28, customVariablePageValue1==7
INFO CoreConsole[2015-03-05 12:03:47] Archived website id = 1, period = week, 119029 visits in last last2 weeks, 41539 visits this week, Time elapsed: 50.139s
INFO CoreConsole[2015-03-05 12:03:47] Will pre-process the following 2 Segments for this website (id = 1): visitIp==80.147.169.28, customVariablePageValue1==7
INFO CoreConsole[2015-03-05 12:04:37] Archived website id = 1, period = month, 238594 visits in last last2 months, 50965 visits this month, Time elapsed: 49.736s
INFO CoreConsole[2015-03-05 12:04:37] Will pre-process the following 2 Segments for this website (id = 1): visitIp==80.147.169.28, customVariablePageValue1==7
INFO CoreConsole[2015-03-05 12:05:45] Archived website id = 1, period = year, 238594 visits in last last2 years, 238594 visits this year, Time elapsed: 67.837s
INFO CoreConsole[2015-03-05 12:05:45] Archived website id = 1, 12 API requests, Time elapsed: 187.247s [1/1 done]
INFO CoreConsole[2015-03-05 12:05:45] Done archiving!
INFO CoreConsole[2015-03-05 12:05:45] ---------------------------

The ip segment filter works well but the customvariable don’t works.

Any help is greatly appreciated!


(Matthieu Aubry) #2

Did you set your custom variable on the “page” scope or the “visit” scope? here it should work with customVariablePageValue1 if you set the “page” scope.


#3

I use the scope “page”. I think it is a piwik archive bug.


(Matthieu Aubry) #4

If you think this is a bug, please can you try to reproduce this in a new piwik website, and if you can reproduce it, can you post a bug report on Issues · matomo-org/piwik · GitHub and post the steps to reproduce?