ckan / ckanext-googleanalytics

CKAN extension to integrate Google Analytics data into CKAN. Gives download stats on package pages, list of most popular packages, etc.
GNU Affero General Public License v3.0
35 stars 81 forks source link

add user id to api calls #73

Closed mc18g13 closed 2 months ago

mc18g13 commented 4 months ago

Looking to view a user count on api calls to ckan. Still waiting for my test data to come through to GA but seems aligned with the api docs. Could be missing some bits. Please let me know if there is anything else to add to the PR.

https://developers.google.com/analytics/devguides/collection/ga4/uid-data

mc18g13 commented 4 months ago

I setup two users and tested api calls. There is two users showing up as expected for the newer api calls after the addition of this and one for the original setup.

image