How do a third party can extract data from my piwik analytrcs?

What is the best way to a third party company get scoped data from my piwik analytics account?

I am working with a data analytics company and would like them to access data from my Piwik account. However, I do not want to grant them full access to my account.
I have already tried sending data using scheduled reports, but these reports require a login to be downloaded, and automating this login process would be very challenging.
Additionally, it is not feasible for the third party to use the piwik API, as the API provides full access to all my piwik data. I only want to share specific conversion data, filtered and limited to what is necessary.

Is there a way to provide restricted access or share only the required data without compromising the security of my account? In a way that can be done programmatically?

Hi @Analytics_Voxus,

You can create an account for them and set permissions accordingly - Permissions for a site or app | Piwik PRO help center

You can also use the API and export only the data which you want to provide them. It can be exported for example into a csv file which you can later provide.

Please let me know if you have any questions.

Have a great day! :slight_smile:

Hi!
Thank you for your response. While creating a separate account with limited permissions or exporting data manually via CSV are viable options, I was actually hoping for a more automated and programmatic solution. Ideally, I would like the third-party company to integrate directly with the Piwik API and extract the specific data they need on their own, without requiring manual intervention from my side.

However, my concern is that if I provide them with my API key, they would gain access to all the data in my Piwik account, which is not what I want. Is there a way to restrict API access so they can only retrieve the specific data I want to share, without exposing the rest of my analytics data? Essentially, I’m looking for a way to grant scoped API access programmatically, ensuring they only see what’s necessary.

Let me know if there’s a solution for this!

Best regards.

Hi @Analytics_Voxus :slight_smile: as far as I’m concerned, the minimum permission to provide someone with data access is to “view” on a whole website. Unfortunately there is no like “permissions for segments” although I heard about that concept many times, isn’t that simple though. But definitely what I tend to do is to have API keys on accounts with lower permission levels, like view or edit max. Cheers!

1 Like