Using Tealium Functions for Acxiom Identity Resolution
This article describes how to use a visitor function to retrieve probabalistic identity data from the Acxiom identity provider and save it in the visitor profile.
We recommend using a visitor function to capture the data from Acxiom. For more information on visitor functions, see Event and Visitor Functions.
The visitor function does the following:
- Requests the additional data from Acxiom.
- Sends an event containing the additional data and
tealium_visitor_id
to Tealium Collect.
The EventStream attributes and visitor attributes are enriched by the event sent from the function. The following figure illustrates the process of retrieving data from the identity provider and saving it in the visitor profile:
Prerequisites
- EventSteam and Functions.
- The Tealium Collect API as a Data Source.
- Create visitor attributes to store the additional information.
- Create an event spec titled
acxiom_function_event
. This will contain the desired attributes, which will be used to enrich the visitor attributes. - Add an enrichment to enrich the visitor attributes with the value of the event attributes.
The function works best when the Acxiom Real Tag tag is installed. This identifier will increase the confidence rating for the visitor.
Creating a function to process the event
To create the function:
- Navigate to the Functions interface.
- Click Add Function.
- Enter a name for the function.
- Enter appropriate notes to describe the function for later reference.
- Select the Processed Event trigger.
- Select the desired event feed for the trigger.
- Click Continue.
- Enter the sample code below into the Code box.
- Customize the code as necessary for your configuration.
- Save the function.
You can test the function with the Test feature and a tool such as Postman API Workbench.
For more information on creating a function, see Managing Functions.
Example function code
The following test example function will attempt to match a visitor profile based off of the attributes you send to it:
Attribute | Description |
---|---|
acxiom_function_event |
Event Spec name |
realId |
Acxiom rTag |
address |
User’s address |
phone |
User’s phone number |
email |
User’s email address |
fullName |
User’s full name |
The function will return any additional user data for profile enrichment.
This code is currently in beta.
This page was last updated: January 7, 2023