Skip to content

Frameworks

Marketplace

Platform

Resources

↑↓ to moveEnter to openHelp, news and every page are found here too

Adding Asiri Consent to Shopify

Link your Shopify shop to a consent source and turn on the Asiri Consent app embed in your theme.

Updated

The Asiri Consent app adds your banner to a Shopify theme and answers Shopify's customer-data requests for you, so the company is told what to do and by when.

Who can do this

An Owner or Admin of your Asiri workspace. The secret key, where a step needs one, is visible to Owners and Admins only.

Before you start

You need a source in Asiri. Open Consent, then Sources, choose your source and open its Install tab. Your source id is on that page. A publishable key starts with pk_live_ or pk_test_; make one on Consent's Keys page, opened by Keys beside the source on Sources, if you have not got one. A publishable key goes in the page and records choices against a visitor only. A secret key starts with sk_ and never goes in a page, a theme or a tag. Your shop address is the one that ends in .myshopify.com.

Link the shop

  1. In Asiri, open the source's Install tab and choose Shopify.
  2. Type your shop address and choose to link it. Asiri sends you to your shop's admin to agree to two permissions: read customers and write customers.
  3. Agree. You come back to the Install tab, which shows the shop as linked.
  4. In your Shopify admin open Online Store, then Themes, then Customize. Under App embeds, switch on Asiri Consent. If the source id and publishable key are not filled in, paste them and save.

The link has to be finished in the same browser where you signed in to Asiri, within fifteen minutes of starting it. If it expires, start again.

What Asiri does when Shopify asks

Shopify requires every app to answer three requests. Asiri answers each at once and acts once however many times Shopify sends it:

  • A customer asks for their data: one task is raised for your company, due within the 30 days Shopify allows, to find that customer's consent choices and reply to the shop owner.
  • A customer asks to be erased: one task is raised for your company to decide and record the decision. Nothing is deleted for you.
  • The shop asks for its data to go: the link is ended and its stored access is emptied.

When the app is removed from the shop, Asiri drops its access at once and the Install tab shows the shop as uninstalled.

If something is wrong

  • Not a shop address: use the address ending .myshopify.com, not your own domain.
  • Link expired: start again from the Install tab.
  • A shop already linked to another company: a shop can be linked to one company at a time. End the other link first.

Can’t find what you need? Contact us.