Set up Goal Tracking for Wisepops

Lisa Fockens Updated by Lisa Fockens

Goal and revenue tracking allows you to monitor the conversions and revenue generated by your popups. In this article, you'll learn how to set up goal tracking using Javascript and how to customize attribution options.

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

Setting up Goal Tracking

  1. Use the function wisepops("goal", [goalName], [goalValue]) to track your goals.
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
  1. Check if goal tracking is working by following these steps:
  • Open the Chrome developer tools panel (F12)
  • Select the "Network" tab and enter "" in the filtering section
  • Trigger the action that should trigger goal completion

If goal tracking is working, you should see a new line starting with _.gif?e=g in the network tab. If not, check the "Console" tab for errors.

Attribution options

  1. Attribution options allow you to control which conversions and transactions are attributed to your popups.
  2. You can change attribution options in your settings.
  3. Attribution period determines the period after a customer interacts with your popup during which a conversion is recorded.
    • Choose longer windows to associate more conversions with your campaign.
  4. Attribution model controls which interactions can be associated with conversions.
    • Choose the DISPLAY model for promotion popups that don't have to be clicked on to impact sales.
    • Choose the CLICK model for popups that need to be clicked to impact sales.

Viewing your goal statistics:

  1. After setting up goal tracking, you can view your results on the "Analytics" page in Wisepops.
  2. Access the "Analytics" page by clicking "Analytics" in the left panel.

Once you've finished, you can start tracking your goals and revenue with Wisepops.

If you have any questions, please get in touch.

How to set up Goal Tracking in Shopify