Track orders and refunds automatically using Shopify Flow.
If your store runs on Shopify, you can track conversions without adding any code to your
site. Two ready-made Shopify Flow workflows send order and refund data to Gocertify
automatically.
With this integration you share all of your transactions with Gocertify, not only
those that used a Gocertify discount code. We then classify each transaction based on
the discount code the shopper used.
Two separate steps are needed before the workflows will work:
Install the Gocertify app on your store.
Connect your brand to the store.
See the Shopify Integration guide for both.
Installing the app on its own is not enough — connecting your brand is what tells the
workflows which account to send data to.You will also need your Gocertify API key. Ask your Gocertify contact for it — they will
provide the key for your account.
In your Shopify admin, go to Apps > Flow > Settings and click Add secret.
Flow settings, where secrets are managed
Field
Value
Handle
gocertify_api_key
Value
The API key from your Gocertify contact
Fill in the handle and paste your API key
The handle must be exactly gocertify_api_key. The workflows will not
authenticate if it differs.
2
Import both workflows
Go to Apps > Flow and click Import in the top-right corner. Add the
Order Created file and confirm, then repeat for Refund Created.
3
Add the brand variable
Each workflow needs one variable that tells it which Gocertify account to send data
to. You add it once per workflow.Open the workflow, click the Send HTTP request step, then under the URL field
click Add variable.
Select shop from the variable list
Select shop.
Next to metafield, click the + icon.
Choose Use an unstructured metafield.
Enter gocertify.brand_slug as the namespace and key. The variable name fills in
as brandSlug automatically — leave it as it is.
Click Add.
Enter the namespace and key
The URL will now resolve to your brand automatically. Open the Test results tab to
confirm — you should see your brand name in the URL instead of the variable.
The variable must be named exactly brandSlug. Repeat this step for the second
workflow — variables are not shared between workflows.
4
Turn on the workflows
Open each workflow and click Turn on workflow in the top-right corner. Nothing else
inside the workflow needs changing.
5
Check it works
Place a test order. Within a minute or two it should appear in your Gocertify
dashboard. If it does not, go to Apps > Flow > Recent runs to see whether the
workflow ran and what it returned.