Track if user is free user or has a subscription

Hello. Is it possible to track if user has a subscription? I already set up setting userId from db as PiwikPro user id, now I want to track how many users have bought a subscription, and what percent of users haven’t done it yet. Any advices?

Hi,

a user scoped custom dimension would be a good solution for that. In order to achieve something similar you could store and update the subscription status in a cookie or elsewhere in the browser and send the status along with every hit so a session scoped dimension (for example) would be updated everytime a new status is sent.

The result is not exactly the same as a user scoped dimension because the status may change between two sessions, but it would give you some level of measuring the rate for subscribers vs. non-subscribers.

best,
Markus

Thanks, I’ll try it tomorrow