Shopify sends Ometria information about which contacts are opted-in or opted-out, but it doesn't provide Ometria with the timestamp of when a contact opted out/in.
This means that if contact subscribes via your Shopify store, they don’t have the subscription date information attached, and Ometria can't trigger a welcome campaign for that new subscriber.
You can use a webhook to get around this.
A webhook allows Shopify to talk to Ometria by sending information automatically when an event happens.
So when a contact subscribes, the webhook automatically sends the contact details with opt-in value 'true' and a time for ‘when did the contact subscribe’.
See also: Shopify unsubscriptions
Before you begin
You’ll need a webhook URL.
Contact Support or your Technical Project Manager, who can provide this.
Setup steps
1. Log into your Shopify account and go to Notifications > Webhooks:
Select Create webhook:
2. Create a webhook with the following details:
Field | Description |
Event | Customer creation |
Format | JSON |
URL | Paste in your webhook URL. |
Webhook API version | Select version 2024-07 from the dropdown. |
3. Select Save webhook.
4. Add a second webhook with the Event 'Customer update' and the Format 'JSON' and paste your webhook URL into the URL field, then select Save webhook.
Comments
0 comments
Article is closed for comments.