You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CriticalIndicates the severity of an issue is very critical and the issue has a very high priority.TaskIndicates an issue is neither a feature nor a bug and it's purely a "technical" change.
To bring 100% consistency in segments naming, we had to rename some segments in 1.12. This is done as part of #2135.
If you use Piwik Segmentation API please check that you are not affected and make required changes to your API calls:
* continent segment renamed to: continentCode
* browserName segment renamed to: browserCode
* operatingSystem segment renamed to: operatingSystemCode
* lat segment renamed to: latitude
* long segment renamed to: longitude
* region segment renamed to: regionCode
* country segment renamed to: countryCode
* continent segment renamed to: continentCode
Note: Piwik API starting in 1.12 will throw an exception if you still use the old segment names so it should be fairly easy to notice.
The text was updated successfully, but these errors were encountered:
new API: getSuggestedValuesForSegment which returns top suggested values for a particular segment. It uses the Live.getLastVisitsDetails API to fetch the most recently used values, and will show the most used values first
Adding tests for everything. The test case actually generates data for all segments so that VisitsSummary.get returns some data for each of the 47 segments being tested returns some data.
How it works:
generate extended data in fixture
Tests (1) call getSuggestedValuesForSegment for each segment, check there is some data returned for each segment
get the first suggested value from the list,
Tests (2) call VisitsSummary.get with this segment value, eg. countryCode==ru.
I worked this way for all 47 segments until all tests had some data ==> now we know that all segments have been tested and that the auto suggest works for all segments. TDD FTW!
mattab
added this to the
1.12 - The Great 1.x Backlog milestone
Jul 8, 2014
CriticalIndicates the severity of an issue is very critical and the issue has a very high priority.TaskIndicates an issue is neither a feature nor a bug and it's purely a "technical" change.
To bring 100% consistency in segments naming, we had to rename some segments in 1.12. This is done as part of #2135.
If you use Piwik Segmentation API please check that you are not affected and make required changes to your API calls:
*
continent
segment renamed to:continentCode
*
browserName
segment renamed to:browserCode
*
operatingSystem
segment renamed to:operatingSystemCode
*
lat
segment renamed to:latitude
*
long
segment renamed to:longitude
*
region
segment renamed to:regionCode
*
country
segment renamed to:countryCode
*
continent
segment renamed to:continentCode
Note: Piwik API starting in 1.12 will throw an exception if you still use the old segment names so it should be fairly easy to notice.
The text was updated successfully, but these errors were encountered: