Skip to main content

Integrating Alia with Attentive: Data & Properties Guide

Learn how Alia syncs subscriber data, custom attributes, and events to your Attentive account for personalized marketing.

Written by Pallavi Joshi
Updated this week

Integrating Alia with Attentive takes only a few minutes and allows you to seamlessly sync customer data, automate email and SMS flows, and enhance your overall marketing efforts. By passing specific data points from your popups directly into Attentive, you can personalize your communication by dynamically inserting signup details and discount codes.

This integration ensures that every interaction a user has with an Alia popup—from answering a poll to claiming a discount—is captured and reflected in their Attentive profile.

Subscriber Synchronization

When a user signs up via an Alia popup, Alia sends a POST request to Attentive's /subscriptions endpoint. This creates or updates the subscriber record with the following information:

  • Phone and/or Email: The primary contact identifiers provided by the user.

  • signUpSourceId: A unique ID configured per-merchant to track the origin of the lead.

  • subscriptionType: Set to "MARKETING" by default.

  • singleOptIn: An optional boolean value depending on your account configuration.

Custom Attributes

To help you segment your audience effectively, Alia passes custom attributes to Attentive via the /attributes/custom endpoint. These attributes allow you to trigger specific journeys based on user behavior:

  • alia_campaign: The title of the Alia segment the user interacted with.

  • alia_popup: The specific title of the flow or popup.

  • Custom Profile Properties: Any additional data collected in the user's profile.

  • Reward Data: When a reward is claimed, Alia passes the Alia discount code, Alia discount text, and Alia discount expiration.

  • Poll Data: When a poll is answered, the question text is mapped directly to the user's answer.

Note: Each attribute and event call automatically includes the AttentiveUser identifier (phone, email, or clientUserId) to ensure data is mapped to the correct profile.

Custom Events

Alia tracks specific engagement milestones as Custom Events (POST /events/custom). You can use these events to trigger post-signup automations in Attentive:

Alia Reward Claimed

Triggered when a user successfully claims a discount or offer. Properties include:

  • text: The description of the reward.

  • shopify_code: The actual discount code generated.

  • expires_at: The expiration timestamp for the offer.

Alia Poll Answered

Triggered when a user interacts with a poll element. Properties include:

  • question: The text of the question asked.

  • answer: The specific option selected by the user.

Note: To get started with the setup, ensure you have your Attentive integration set up. Here is how you can do it.

Did this answer your question?