Skip to main content
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.
Shopify’s Send HTTP request action is available on the Grow, Advanced and Plus plans. On any other plan, use Direct Conversion Tracking instead.

Before you start

Two separate steps are needed before the workflows will work:
  1. Install the Gocertify app on your store.
  2. 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.

Download the workflows

Order Created

Sends every new order to Gocertify.

Refund Created

Sends every refund so your reporting stays accurate.

Set up

1

Add your API key as a secret

In your Shopify admin, go to Apps > Flow > Settings and click Add secret.
Shopify Flow settings page with the Add secret button

Flow settings, where secrets are managed

Add secret form with the gocertify_api_key handle entered

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.
Add a variable panel showing the order and shop resources

Select shop from the variable list

  1. Select shop.
  2. Next to metafield, click the + icon.
  3. Choose Use an unstructured metafield.
  4. Enter gocertify.brand_slug as the namespace and key. The variable name fills in as brandSlug automatically — leave it as it is.
  5. Click Add.
Create variable panel with gocertify.brand_slug entered as the namespace and key

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.

What gets sent

Order ID and name, creation time, order value and currency, discount codes applied, number of products, and Shopify’s own fraud risk assessment.
Refund ID, the original order it belongs to, and the refunded amount.
No customer names, email addresses or payment details are sent.