Add data from custom events

If you want to collect data in Audience Manager from custom events in Analytics, you need to create and set up a new attribute.

Before you start

Here are some things to know before you begin the process:

  • In Tag Manager, check the custom event for which you want to set the attribute. Note the name, action, label, and value for the event.
  • Think thoroughly about how you want to collect data for an attribute. For example, you may have an attribute Button click and set the value as the type of button that was clicked.
Custom events explained on a graph.

Tip: You’ll find a great deal of knowledge about setting up custom events in our guide: Analytics for Advanced.

Create and set up an attribute

To add a new attribute and collect data from a custom event for it, follow these steps:

  1. Go to Menu > Audience Manager.
  2. Navigate to Attributes.
  3. Click Create new attribute.
  4. Name the attribute.
  5. Toggle Set value with analytics custom events.
  6. Custom event setup in Audience Manager.
  7. Filter custom events to collect data from the events you want. For example, we’ll set the category Button, so that we could receive data only from events in this category.
  8. Add event attributes in a custom event attribute in Audience Manager.
  9. Set attribute value. You can choose Category, Action, Name, or Value as the value for the attribute. For example, we’ll use Action, so that we could see values for action from a custom event. In our case, the action collects information about the name of the clicked button.
  10. Set an attribute value in Audience Manager.
  11. When you’re done, click Save.
  12. The attribute is now on the list, and Audience Manager will start receiving data for it. After some time, the attribute should be filled up with data.
Attributes in Audience Manager.

Next steps

Having a new attribute, you can create an audience based on this attribute, and use it to fire tags in Tag Manager or for other advertising tools like Facebook Ads, Google Ads, and more.

Was this article helpful?

Be the first to rate this article.

Technical Support

If you have any questions, drop us a line at support_SPC@piwik_SPC.pro.

We’re happy to help!