If you want to collect data in Audience Manager from custom events in Analytics, you need to create and set up a new attribute.
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 event name, action, label, and value.
- Think carefully about how you want to collect data for an attribute. For example, you may have an attribute
Button clickand set the value as the type of button that was clicked.
Tip: You’ll find a great deal of knowledge about setting up custom events in our guide: Analytics for advanced analysts.
To add a new attribute and collect data from a custom event for it, follow these steps:
- Go to Menu > Audience Manager.
- Navigate to Attributes.
- Click Create new attribute.
- Name the attribute.
- Toggle Set value with analytics custom events.
- In Filter custom events, set data you want to collect. For example,
Category equals Button
- In Set attribute value, choose
Valueas the value for the attribute. For example,
Action. In our case, the action collects information about the button name.
- When you’re done, click Save.
- Your new attribute will appear on the list and it will start filling with data gradually.
With 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.