@mauserrifle opened this Issue on October 23rd 2014

It is useful to request the columns nb_impressions and nb_interactions when using VisitsSummary widgets. Especially for Content Tracking to show the same stats within other platforms. This is currently not working and now not possible to show Content stats the way the Piwik admin shows them.

My CMS shows actions:

screenshot - 10232014 - 10 08 45 am

Piwik shows impressions:

screenshot - 10232014 - 10 09 14 am

There seems to be a difference between action and impression. Duplicates are probably filtered out (we process server side and some bots are processed too, is our own issue, not piwik).

The URL to request for nb_impression could look like:

https://demo.piwik.org/index.php?module=Widgetize&action=iframe&columns[]=nb_impressions&widget=1&moduleToWidgetize=VisitsSummary&actionToWidgetize=getEvolutionGraph&idSite=7&period=day&date=today&disableLink=1&widget=1

With possible content params &segment=contentName==Banner_12582 ofcourse but left out due to the demo site not containing this segment.

I have not used Events yet, but I think this feature would be useful for that too. Correct if wrong.

@mauserrifle commented on October 29th 2014

Hmm I managed to reproduce the same (impression) graph from the Piwik panel using the following:

index.php?module=Widgetize&
action=iframe&
columns[]=nb_impressions&
columns[]=nb_interactions&
widget=1&
moduleToWidgetize=CoreHome&
actionToWidgetize=getRowEvolutionGraph&
apiMethod=Contents.getContentNames&
label=Banner_319&
idSite=8&
period=day&
date=today&
disableLink=1&
widget=1&
filter_offset=0&
viewDataTable=graphEvolution&
token_auth=XXXXX

I came to these params by inspecting the JSON code params within Piwik.

Is this feature request is still useful?

@mattab commented on November 3rd 2014 Owner

Thanks for the suggestion! It would be very useful to display the "Content Impressions" and "Content clicks" in the Graphs Metrics selector :+1:

@mattab commented on April 8th 2015 Owner

Related / similar to Add metrics "Sales" and "Abandoned carts" in the graphs metrics picker #6973

Powered by GitHub Issue Mirror