Set up Goal Tracking for Wisepops

Lisa Fockens Updated by Lisa Fockens

If you are on Shopify, follow this doc instead
Goal tracking can also be implemented using Google Tag Manager.

Introduction:

Goal and revenue tracking allow you to monitor how many conversions and how much revenue was generated by your popups

Setting up the goal and revenue tracking:

You can use JavaScript to track your goals. A function wisepops()is available as soon as our setup code is executed.

wisepops("goal", [goalName], [goalValue]);
  • "goal" : String that indicates that you want to track a goal. Leave it as it is.
  • goalName  (optional) : You can name your goal. For example: "purchadedItem"
  • goalValue  (optional) : You can associate your goal with a value. For example the price of the item : 15.99

Check your setup

Once you have implemented goal tracking, you can check if it's working by following these steps:

  • Before the goal is tracked, open the Chrome developer tools panel (F12), and select the "Network" tab,
  • Input "tracking.wisepops.com" in the filtering section
  • Execute the action that should trigger the goal completion
  • If goal tracking is working, a line should appear, that starts with _.gif?e=g

If you can't see any new line appearing, check the "Console" tab and look for errors. If you find errors and don't know what they mean, contact us, we'll help you troubleshoot the issue.

Attribution options:

Attribution options allow you to control which conversions and transactions are attributed to your popups. You can access attribution options in your settings (make sure you're logged in first to access the page).

Conversion window

This is the period of time after a customer interacts with your popup during which a conversion is recorded.

Let’s say your attribution model is Click. Your visitor clicks on one of your popups and leaves your website without buying anything. He comes back 8 days later and purchases a product.

If you set your conversion window to 10 days, a conversion will be recorded and associated with the popup the viewer clicked on before. If you set it to 7 days, it won’t be recorded.

The longer the window, the more conversions you will associate with your campaign.

Attribution model:

The attribution model allows you to control which kind of interactions can be associated with conversions. If you pick displays, then conversions will be recorded and associated with your popup as soon as your popup is displayed. If you select clicks, then your visitors will have to click your popup or sign up before a conversion is triggered.

  • Select the DISPLAY model for promotion popups which don’t have to be clicked on to impact your sales. For example, if you display a promotion coupon, it will impact all visitors seeing the coupon. In that case, you should attribute the sales to popup displays, not clicks.
  • Select the CLICK model for popups which have to be clicked to impact your sales and conversions. For example, if you’re giving a coupon to visitors who sign up, you should attribute the sales to clicks, as only visitors who click (or sign up) will get the coupon.

Viewing your goal statistics:

After setting the goal tracking client-side, you can view results on "Analytics" page. You can access it by clicking "Analytics" in the left panel.

How to set up Goal Tracking in Shopify

Contact