Capture customer data
Attribute capture points collect customer profile data, including customer keys, and interaction event metadata. Customer attributes are used to capture customer profile data and activity attributes are used to capture interaction event metadata.
Attribute capture points can capture data from interactions across a variety of channels and touchpoints such as websites, mobile apps, contact centers, and chat services.
Create a page element attribute capture point (MXO UI)
Create page element attribute capture points to capture data from an HTML element on a web page such as from web form fields or displayed text.
In MXO, go to Collect > Interaction Points.
- Select the interaction point for which you want to create an attribute capture point. This opens the Interaction Points view.
Click + Create in the Attribute Capture Points section.
Select Page Element.
Enter a name for your capture point.
Select the type of page element you want to capture data from. Choose one of the following:
Field Description Text Field Captures text field values on page load and user input. Display Element Captures display element values on page load. Checkbox/Radio Button Captures checkbox/radio button selections on page load and user interaction. Dropdown List Captures selected dropdown list values on page load and user selection. Optionally, click
Edit to configure the following:
Field Description Delay Data Capture By: Set a delay (0-5 seconds) for data capture using the slider. Select the value you want to capture Choose Input Value or Element Attribute Value.
For the element attribute value, specify the attribute name.
Enter the unique identifier for the element, such as '#location1' for HTML element IDs or CSS selectors. For automated capture using the MXO extension or iOS SDK, the identifier is pre-filled. Supported selectors are detailed in Supported selectors for element paths.
Select a storage option for the data: as a Customer Attribute or an Activity Attribute. For details on attribute types, see Introduction to Attributes.
Choose to store the captured value as an existing attribute or create a new one, as outlined below:
Option Procedure Existing Attribute Select the attribute to store the data. Ensure it matches the data type if capturing a key attribute. New Attribute Provide a unique name and data type for the new attribute. Options include Text, Boolean, or Number. Duplicate names are not allowed. Click Save to finish the creation process.
Create a page element attribute capture point (MXO extension)
Create page element attribute capture points to capture data from an HTML element on a web page such as from web form fields or displayed text. For more information, refer to MXO extension and MXO bookmarklet.
- Enable the MXO extension on your website's page to start capturing customer data. Note that the page must be configured as an interaction point.
In the toolbar, select EDIT to modify the attribute capture point.
Click the Add icon, then select Page element from the Attribute Capture menu to proceed with data capture. This temporarily closes the window and returns you to the web page.
Hover over the page element to capture data, then click Set Selection to open the main MXO UI.
- Name your capture point.
Select the page element type for data capture:
Field Description Text Field Captures text input or default text on page load. Display Element Captures text displayed on page load. Checkbox/Radio Button Captures selections on page load or change. Dropdown List Captures selected options on page load or change. Optionally, click
Edit to configure the following:
Field Description Delay Data Capture By: Set a delay (0-5 seconds) using the slider. Select the value you want to capture Choose Input Value or Element Attribute Value.
For the element attribute value, specify the attribute name.
Select a storage option for the captured data: Customer Attribute or Activity Attribute. For distinctions between attribute types, see Introduction to Attributes.
Select storage for the captured data: choose an existing attribute or create a new one. For existing attributes, ensure compatibility with the data type. For new attributes, provide a unique name and data type. See Introduction to Attributes for details.
Field Description An existing attribute Choose an existing attribute to store the data, ensuring it's a key attribute if necessary. A new attribute Name the new attribute and select its data type from Text, Boolean, Number. Ensure the attribute name is unique to avoid duplicates. Click Save to finish the creation process.
Supported selectors for element paths
For web touchpoints, MXO fully supports CSS selectors. Consider the following when crafting CSS selectors:
Selectors must be unique. If multiple elements match, MXO uses the first one in the DOM.
Ensure selectors are cross-browser compatible. Not all features are supported by every browser. For more details, refer to https://caniuse.com/?search=CSS selector.
For documentation on CSS selectors, refer to https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelector.
For mobile touchpoints, MXO also supports pseudo-XPATH selectors that start with a forward slash /.
Create a URI/API parameter attribute capture point (MXO UI)
Create attribute capture points for URI/API parameters to collect data from web address query parameters or API call properties.
In MXO, go to Collect > Interaction Points.
Select the interaction point for which you want to create an attribute capture point. This opens the Interaction Points view.
Click + Create in the Attribute Capture Points section.
Select URI/API Parameter.
Enter a name for your capture point.
Input the URI or API parameter for data capture.
Determine the data storage option, either as a Customer Attribute or an Activity Attribute. Refer to Introduction to Attributes for more details.
Decide if the captured value will be stored as an existing attribute or a new one, as outlined below:
Option Procedure An existing attribute Choose an appropriate attribute to store the data, ensuring it's compatible with the data type. A new attribute Provide a unique name and select a data type for the new attribute from options such as Text, Boolean, or Number. Click Save to finish the creation process.
Create a URI/API parameter attribute capture point (MXO extension)
Create attribute capture points for URI/API parameters to collect data from web address query parameters or API call properties.
Enable the MXO extension on your website to capture customer data.
In the toolbar, select EDIT to modify the attribute capture point.
Click the Add icon, choose URI/API parameter from the Attribute Capture menu, and open the main MXO UI.
Name your capture point.
Enter the URI or API parameter for data capture.
Choose a storage option for the data: Customer Attribute or Activity Attribute, detailed in Introduction to Attributes.
Decide on storage: use an existing attribute or create a new one, as outlined below.
Option Procedure An existing attribute Select the attribute to store the data, ensuring it matches the data type if capturing a key attribute. A new attribute Provide a unique name and data type for the new attribute. Options include Text, Boolean, or Number. Click Save to finish the creation process.
Capture data from cookies (MXO UI)
This section outlines the steps to create cookie attribute capture points for capturing data from cookies present on a webpage.
- In MXO, go to Collect > Interaction Points.
Select the interaction point for which you want to create an attribute capture point. This opens the Interaction Points view.
Click + Create in the Attribute Capture Points section.
Select Cookie Value.
Name your capture point.
Specify the cookie name for data capture.
Choose storage as either a Customer Attribute or an Activity Attribute, detailed in Introduction to Attributes.
Decide on storage: use an existing attribute or create a new one, as outlined below.
Option Procedure An existing attribute Select the attribute to store the data, ensuring it matches the data type if capturing a key attribute. A new attribute Provide a unique name and data type for the new attribute. Options include Text, Boolean, or Number. Click Save to finish the creation process.
Create a cookie attribute capture point
Enable the MXO extension on your website's page.
In the toolbar, select EDIT to modify the attribute capture point.
Click the Add icon, choose Cookie from the Attribute Capture menu, and access the main MXO UI.
Name the capture point and specify the cookie for data capture.
Choose storage as either a Customer Attribute or an Activity Attribute, detailed in Introduction to Attributes.
Decide on storage: use an existing attribute or create a new one, as outlined below.
Option Procedure An existing attribute Select the attribute to store the data, ensuring it matches the data type if capturing a key attribute. A new attribute Provide a unique name and data type for the new attribute. Options include Text, Boolean, or Number. Click Save to finish the creation process.
Capturing attributes on a global (wildcard) interaction point
Customer and activity attributes can be globally captured using a wildcard interaction point.
A global interaction point employs wildcards to cover various interactions, simplifying configuration and enabling the reuse of capture rules across multiple points on a touchpoint. For more details, refer to Using Wildcards in Interaction Points.
Global interaction points store captured customer attributes in the customer's profile.
Activity attributes are stored with the activity record of the interaction point that initiates the capture. For instance, a global interaction point defined as /* may have the following capture points:
| Capture points on global interaction | Attributes captured |
|---|---|
| Attribute Capture | Activity Attribute - Selected Color |
| Activity Capture | Activity - Research (Type) + iPhone (Proposition) |
Manage attribute capture points
Modify or delete your attribute capture points as needed to keep your data capture configuration up to date.
In MXO, go to Collect > Interaction Points.
Select the interaction point for which you want to modify or delete an attribute capture point, or view its dependencies. This opens the Interaction Points view.
Perform the desired action on the attribute capture point:
To edit, click the attribute capture point you want to open for editing, make the necessary changes, and click Save.
To view its dependencies, click
Dependencies. In the modal window that appears, you can see the list of dependencies for that capture point. You may click any dependency to open it in a new window and edit or remove it. Then, click Refresh to reload the dependencies list.
To delete, find the desired capture point in the list and click
Delete. Then, click Delete in the modal window that appears to complete the deletion process.
