Attribution

Post-purchase survey

Updated

On Shopify, add the ROASaurus survey block to your thank-you page in the checkout editor. Answers are mapped to channels and used by the Total Impact (survey + clicks) model on the Attribution report.

A survey catches what clicks cannot: the podcast, the friend, the TikTok video someone watched without clicking. ROASaurus does not show survey answers as their own report; it uses them inside attribution, where the answer gets half of the order and the clicks share the other half.

Before you start

  • The ROASaurus Shopify app installed (the survey is a block of the app), or a backend that can call the API on other webshops.
  • Shopify checkout extensibility on your thank-you page.

Steps

  1. Open the checkout editor

    In the Shopify admin go to Settings › Checkout and choose Customize. Switch the page selector to the Thank you page.

  2. Add the block

    Choose Add app block and pick ROASaurus survey. Place it where buyers see it, then Save.

    You should see: The question "How did you hear about us?" with Facebook or Instagram, TikTok, Google search, YouTube, A friend or family, Email or SMS, Podcast or radio, and Other. Buyers see it in the language of their checkout.

  3. Place a test order

    Order something, answer the question and press the button.

    You should see: A thank-you message under the question.

  4. Use the answers

    On Marketing › Channels & campaigns › Attribution, pick Total Impact (survey + clicks) as the model.

    You should see: Channels that people name but rarely click (friends, podcasts) gain credit, next to the ad clicks.

On other webshops

Send each answer to POST /api/v1/surveys with an API key that has the write scope: question, answer and the order_id (or the visitor id from the _tl cookie). See the API reference.

How far an answer reaches

An answer tied to an order counts for that order. Settings › Store › Survey lookback sets how far an answer that is not tied to an order may be from it for Total Impact.

Why ask at all

Answers show channels that rarely produce a click on the way to an order, such as word of mouth, podcasts and video people watch without tapping. Read more in the article on survey attribution.

Common problems

The block is not in the list
The ROASaurus Shopify app must be installed on the store, and the thank-you page must be selected in the checkout editor.
Answers do not change the report
Pick the Total Impact model. Other models use clicks only.

Next step

How attribution works

Still stuck? Email us.

Every sale, traced to the ad that earned it

Server-side tracking, profit and lifetime value in one app. Free plan, no credit card.