Skip to main content

How to: Use Hidden Metadata Fields to improve Online Actions form tracking

(2 min read)
​
Adding Hidden Metadata Fields to your Online Actions forms can give you a powerful way to track complex information about the supporters, including information like affiliate referrals, devices used, test variants, and more.

Creating new Hidden Metadata Fields

Begin by opening Settings from the Online Actions page. If you do not see this option, please contact your organization's administrator so they can add the correct permissions to your user profile.
​

You should see an option for creating Hidden Metadata Fields.

Select Add a New Field and then enter the Identifier variable name and details for your new metadata field.

The name of your identifier:

  • will always start with "oa_"

  • cannot contain spaces or special chars

  • must be unique per committee

  • is case-insensitive

Populating metadata fields with query strings

You can use metadata fields with your query strings to track the information you need when you link to your Online Actions forms. Query strings are particularly useful when your supporters are coming from the same link, such as from an email or online ad.

To use a query string to populate the metadata field, append the Identifier as the name portion of the name-value pair to the URL.

Example:

Populating metadata fields with Javascript

You can also use metadata fields with your own JavaScript to add custom logic for collecting information about a supporter's browser session. You may want to use this when your Identifier's value is likely to be different from one supporter to the next, such as devices used, test variants, and so on.

To help you create your statements, we recommend you use ActionTag's alterPost callback to populate that field's Identifier.
​

Using Merge Fields to include metadata fields on your form

Once you've added metadata fields to your committee, you will be able to apply them to your forms using Merge Fields.

Searching on metadata fields

After adding metadata fields to your committee, you will have a new section in Create a List called Online Forms Metadata Fields which you can use to identify contacts who match your selected tracking data.


​


​
​

Using metadata fields in reports

You can filter on metadata fields in the Online Activity Report and the Online Forms Custom Questions Report.


​


​
​
​
You can also add metadata columns and Group by metadata fields to these reports, as well as to the Online Forms Comparison Report.

Did this answer your question?