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);
  });
</script>

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.

Did this answer your question?