Overview
Our integration with Yotpo makes it easy to reward customers for linking accounts and making retail purchases. Subtotal awards points in Yotpo by posting events to Yotpo’s Custom Action API. Each action you configure in Subtotal maps to a matching Custom Action you’ve created in Yotpo — so Yotpo can apply its earning rule and display the reward in the customer’s activity feed.Connect your Yotpo account
Sign in to the Subtotal Dashboard and connect your Yotpo account to enable the integration. Navigate to Integrations → Yotpo → Connect. Click theConnect Yotpo button.

Connect to complete the OAuth handshake.

Active status on the Yotpo integration page.

Configure actions
After connecting, configure the actions Subtotal should send to Yotpo. Each action maps a Subtotal event (an account being linked, a purchase being made) to a Custom Action you’ve set up in Yotpo. The Action name in Subtotal must match the Custom Action name in Yotpo exactly — that’s how Yotpo applies the matching earning rule.
To add an action, click
Add action and choose an event:
See Rewarding linked accounts and Rewarding purchases for setting up each action end-to-end in Yotpo and Subtotal.
Customer identification
When Subtotal posts an event to Yotpo, it always includes the customer’s email (from the connection) plus the identifier value matching your configured type:
Because email is always sent alongside the configured identifier, the connection’s
email field should be populated regardless of which identifier type you choose. How the fields are captured depends on your setup:
- Shopify app — the customer’s email is captured automatically from their Shopify profile. For
Customer IDorMobile, pass the value explicitly when launching Subtotal Link. - API integration — include
emailand (if applicable)customer_idorphone_numberwhen creating a connection viaPOST /connections. - Subtotal Link query parameter — pass
customer_id(or the appropriate field) as a query parameter when launching Subtotal Link. See Link URLs and Link accounts to your Shopify store.
Yotpo matches customers on both email and the configured identifier. If the connection doesn’t have the email set, Yotpo may be unable to associate the event with a customer profile.