presslabs / toplytics

Plugin for displaying most viewed content using data from a Google Analytics account. Relieves the DB from writing every click.
https://www.presslabs.com/code/toplytics/
30 stars 9 forks source link

Add WP filter for the list of arguments used in the request sent to GA #148

Open mariusveltan opened 5 years ago

mariusveltan commented 5 years ago

The idea is to allow extending the parameters used in the GA request via the GA API.

An example of where extra parameters could be added is in case one would need to retrieve a subset of data from Google Analytics, filtering the results returned by the value of a custom variable set up for the respective website in the Google Analytics dashboard.