@zsoro2 wrote:
Hello guys, i am really confused about the segmentation part.
My questions are:
The segment use log data or use processed data (archive data) ?
If i create a segment with api, and i run console command (./console core:archive) than piwik will create new segment report as well?And now the confusing part:
If i create an api call like this:
http://piwik.example.org/index.php
?token_auth=yourTokenHere
&format=xml
&date=2011-01-11
&period=week
&idSite=1
&module=API&method=Referrers.getKeywords
&segment=browserCode==FF;countryCode==DEThis will generate a new Report or just filter the log data and don’t save anything?
Or It is just on-demand filtering?
If it’s create a new Report than, if i run next time the console command (./console core:archive), it will create this report as well, or it will just updated when i call this api call again?So basically saving a segment can cause better performance? Has it any advantage? Or it just good for save the segment definition and nothing else?
What’s the difference between creating a segment with SegmentEditor.add, and if i just add &segment=definition in the api call?
Posts: 2
Participants: 2