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 ecommerce platform, 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 opts in, the webhook automatically sends the contact details with opt-in value 'true' and a time for ‘when did the contact subscribe’.
Before you begin
You’ll need a webhook URL.
Contact Support or your technical project manager, who can provide this.
1. Log into your Shopify account and go to: Settings > Notifications, then scroll down to Webhooks. Select Create webhook:
2. Select the Event 'Customer creation' with the Format 'JSON' and paste your webhook URL into the URL field, then select Save webhook:
3. 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: