How to set up Goal Tracking in Shopify

Lisa Fockens Updated by Lisa Fockens

Activating the goal tracking option will allow you to associate your Wisepops’ campaigns with revenue and transactions.

Let’s see how you can set it up on a Shopify store.

Step 1: 

Log in to your Shopify account.

Step 2: 

Enter ‘“checkout” in the search menu and select “Checkout settings.”

Step 3: 

Scroll down until you see the “Additional scripts” input field.

Step 4: 

Copy and paste the following code and click “Save.”

<script type="text/javascript">
  document.addEventListener("wisepops.after-initialization", function(event) {
    event.detail.wisepops("goal", "purchase", {{ total_price }} / 100);

Step 5: 

Adjust your goal attribution settings on the goal tracking configuration page.

You’re done!

Feel free to contact us if you have any questions.

Set up Goal Tracking for Wisepops

How to Set Up Goal Tracking in Magento