Public profile attributes

Public profile attributes let you share selected profile details outside of Piwik PRO. When you mark an attribute as public, its values become available in real time through the API. For example, you can fetch data like the visitor’s last visited pages or recently purchased products.

You can then use them to:

  • Personalize content on your website
  • Show product recommendations
  • Display recently viewed pages or purchased products

Note: Only make public the attributes that are safe to share. Never use this option for sensitive or confidential data.

Make an attribute public

1. Go to Menu > Customer Data Platform.

2. Open Attributes.

3. In the Public access column, turn on the switch next to the attribute you want to share.

4. Confirm by clicking Allow public access.

5. Done! Your attribute is now publicly accessible.

Note: You can later list all public attributes and their values via the API.