Follow up for #6045 where we made it possible for any plugin to add data to the API. Now we want the plugins to extend Live widget, Visitor Log and Visitor profile.
This can be quite complex as we probably do not want loads of events there. Maybe we can start using AngularJS for this as a proof of concept. As they do not use the dataTable it is easier to rewrite this component. Maybe there are other, better solutions as well.
Example use case: Provider plugin to extend Visitor Log and Visitor Profile, covered #5341
This will be important for #7131 and #4734 . When a type (eg
MobileApp) disables some reports/dimensions, the related information should not be shown in the Live plugin. For example if referrers information are disabled by a type "MobileApp", no referrer information should be displayed in the Live reports.
This would be very much useful in order to extend visitor profile popup for additional information. Right now the only hacky way seems to be to add the data to the
$visitor['customVariables'] array, even though the values are limited to 50 chars in the template.
Eventually, it would be great to have a way to add new rows (under the avatar) to the visitor profile popup, like
Location, etc. That would give plenty of space to use there.
Adding tentatively to 3.0.3 milestone, to be fixed along with:
Ideally we'd make both Visitor Log and Visitor Profile use same logic so that extending one extends the other too!
would be perfect if this solution not only works for plugins but also for Piwiks "own" base data,
e.g. Content-tracking: display content views and interactions in the Visitor log #6416
for reasons, details, ideas regarding extending informations in visitorlog see also #6416
when extending information in visitorprofile one maybe should take this into account to give new information the right position:
visitor profile: built image of vistor is distorted https://github.com/piwik/piwik/issues/9507
does this also cover a possibility to extend visitor summary in visitor profile?
would be pretty handy for things like this one:
many thanks, awesome!