Skip to content
GROWTH DEPT.CRO

Shopify + Growth Dept CRO

Growth Dept CRO runs inside your Shopify store and reads every result from your Shopify orders.

  • The group is decided in the theme, before the page paints
  • Orders read from Shopify every five minutes
  • Offers, prices, checkout and post-purchase tests run as Shopify extensions
Each visitor's groups travel into the cart as an attribute and stay on the order. When the order sync reads that order from Shopify, the purchase counts for the groups it carries. A purchase a browser reports on its own never counts.

At a glance

Does Growth Dept CRO work with Shopify?

How does it connect?

Growth Dept's team connects your store with you, through your own Growth Dept app or through a custom app with the gd-cro snippet and a custom pixel.

Where does the test set-up live?

In a metafield. Liquid writes it into the page, so the runtime decides the visitor's group with no network request.

How are orders matched?

An order counts for a group only when Shopify's record carries the visitor's _cro attribute or confirms a pixel claim for the same order.

What runs at checkout?

A delivery customization for shipping tests, a discount Function for offers, a cart transform for prices, a checkout UI extension for checkout blocks and a post-purchase extension.

Which Shopify plans?

Page, theme, template, flag and multivariate tests run on any Shopify plan. Offers, price tests and checkout blocks need Shopify Plus. Post-purchase offers are coming once Shopify grants the app access. Shipping tests run through a custom app, which needs Shopify Plus.

What customer data is kept?

None that names a person. A customer id is hashed with your brand's own key as soon as it is read.

Your connection

Growth Dept's team connects your store

Book a call and we set it up with you: the connection to Shopify, the code in your theme and the pixel.

Your own Growth Dept app

Brands Growth Dept works with get the theme app embed and the web pixel inside their own Growth Dept app. Publishing a test writes its set-up to the app's metafield, and Liquid writes it into each page.

A custom app

A store can also connect a custom app with an Admin API token, then add the gd-cro snippet and a custom pixel. Shipping tests run on this route, on Shopify Plus.

What the connection asks Shopify for

A custom app holds these Admin API scopes:

  • read_orders
  • read_all_orders
  • read_customers
  • read_products
  • write_products
  • read_inventory
  • read_themes
  • write_themes
  • read_customer_events
  • write_pixels
  • read_discounts
  • write_discounts
  • read_cart_transforms
  • write_cart_transforms
  • read_shipping
  • write_shipping
  • read_files
  • write_files
  • read_content
  • read_legal_policies
  • read_reports

How it works

How Shopify and Growth Dept CRO work together

Set-up in the page

Publishing a test writes its set-up to a metafield. The theme embed renders it just before </head> and decides the group before first paint.

Groups on the order

The runtime keeps the visitor's groups in the cart as the _cro attribute, so Shopify stores them with the order.

Orders read back

Every five minutes the order sync reads new and updated orders through the Admin API and confirms which belong to a test.

Get started

To get started

  1. 01

    Connect your store

    Book a call and Growth Dept's team connects it with you. Growth Dept CRO reads the shop's plan, currency, time zone and live theme.

  2. 02

    Turn on the runtime

    Switch on the app embed, or add the gd-cro snippet above </head>, and connect the pixel. Switching it on in the live theme is your call.

  3. 03

    Check a QA test

    Open the store with ?cro_qa=1 and click through each group. QA visits never count in the results.

What it works with

Split URL testsContent testsTheme and template testsFeature flagsMultivariate testsOffers: Shopify PlusPrices and checkout blocks: Shopify PlusPost-purchase: comingShipping: custom app on Shopify Plus

FAQ

Shopify questions

How do I get started?
Book a call. Accounts are by invitation for now, and Growth Dept's team connects your store and sets up your account with you.
Does it slow the store down?
The inline part of the runtime stays under 6 KB gzipped and needs no request before first paint. Browser tests check every frame for flicker in Chromium and WebKit.
Do theme tests change my live theme?
No. A visitor in a theme test moves to the test theme's preview on their next page. Publishing a winning theme stays your step in Shopify's theme editor.

Find out what is worth testing on your store.

Book a 45-minute call with the Growth Dept team. We look at your store and your traffic, and tell you which tests to run first.