Shopify Survey Setup

Configure the Adverfly post-purchase survey in your Shopify checkout editor.

1Open Checkout Editor

In your Shopify Admin, go to:

SettingsCheckoutCustomize

This opens the Checkout Editor.

2Select Thank You Page

In the top dropdown of the editor, switch to Thank you page.

3Add Survey Block

In the left sidebar, click Add block and select Post Purchase Survey from the list.

4Configure Settings

Click on the survey block. The right sidebar shows these settings:

SettingDescriptionExample
Adverfly Workspace IDYour workspace ID from Adverfly8397799
Survey IDThe survey to displaysrv_abc123
CountriesComma-separated country codes. Empty = all countries.DE,AT,CH
LanguageForce a language. Empty = auto-detect from checkout.de
Development ModeLogs events to console instead of sending to Adverfly.Off

5Multiple Markets

To show different surveys for different countries, add the block multiple times:

  1. Click Add blockPost Purchase Survey again
  2. Configure each block with different Countries and Survey ID
  3. Each block only shows when the buyer's country matches

Example: Block 1 for DE,AT,CH with a German survey, Block 2 for US,GB with an English survey, Block 3 with empty Countries as catch-all.

6Find Your IDs

Survey ID — open the survey in Adverfly. The ID is the last part of the URL:

https://www.adverfly.com/workspace/1234567/surveys/a1b2c3d4-e5f6-7890-abcd-ef1234567890

7Save & Publish

Click Save in the checkout editor. The survey will appear on the thank-you page for matching countries.

Tips
  • Leave Countries empty to show the survey to all customers.
  • Add the block multiple times for different markets — each block only shows when the country matches.
  • Make sure country codes don't overlap between blocks to avoid showing multiple surveys.
  • Enable Development Mode to test without sending real events.
  • The survey preview works in the editor even without a real country.

Need help? Contact us at support@adverfly.com