Skip to main content
Question

Unbounce popup conversion tracking not counting on landing page conversions


Forum|alt.badge.img

I have my unbounce page with a form on it. When someone fills out the form, the pages gets a conversion, great. I also have a popup that launches on the page to help with leads. When someone fills out the popup, the popup gets a conversion on it. However, how can I easily see how many pageviews and conversions the page AND the popup generated? I have the popup on multiple pages so I want to be able to see these conversions per page. 

Hey, 

According to your asking, you can follow it:

  1. Log in to Unbounce and go to your Dashboard.
  2. Find your landing page in the list and click on the “View Stats” button (represented by a graph icon)
  3. Pageviews: The number of times the page has been loaded.
  4. Conversions: The number of actions taken (e.g., form submissions, button clicks 

For pop-up:

  • Go to the Popups & Sticky Bars tab in your Unbounce Dashboard.
  • Find the specific popup or sticky bar you want to track and click on “View Stats.”

I also attach a picture for your better understanding.

Thank you,
Shahed


Forum|alt.badge.img

Thank you for that, I understand how to check the amount of conversions separately like that. The problem is that I have the same popup on several pages and I want to know what page the popup was filled out on. 


Hey,
Happy to know you were asking. The solution is mentioned below:
 

In Unbounce, you can track what page the popup (or form) was filled out on using hidden fields:

Use a Hidden Field to Capture the Page URL:

You can add a hidden field in your form to capture the current page’s URL where the popup was submitted.

The steps are:

  1. Edit the Popup Form

    • Go to the Unbounce Popup Editor.
    • Add a Hidden Field to your form (name it something like page_url).
       
  2. Use JavaScript to Populate the Hidden Field

    • Add the following script in the "Javascripts" section (before body end tag): 
       
      document.addEventListener("DOMContentLoaded", function() {
          var pageUrlField = document.querySelector("input[name='page_url']");
          if (pageUrlField) {
              pageUrlField.value = window.location.href;
          }
      });
      


      (This script will dynamically insert the current page URL into the hidden field before form submission.)

      Or you can use this code also:
      <script>
        // Get the current page URL
        var currentPageURL = window.location.href;
      
        // Find the hidden field (replace 'page_url' with your hidden field's name)
        var hiddenField = document.querySelector('input[name="page_url"]');
      
        // Set the hidden field's value to the current URL
        if (hiddenField) {
          hiddenField.value = currentPageURL;
        } else {
          console.error("Hidden field 'page_url' not found!"); // Important for debugging
        }
      </script>

       

    •  This code grabs the URL of the page where the popup was triggered and stores it in the hidden field. When the form is submitted, this URL is sent along with the other form data.

    • You'll then see the page_url value in your Unbounce form data exports, integrations (like Google Sheets, Mailchimp, etc.), or in the Unbounce lead details.

      I hope this will help you to solve the problem. For further help, you can contact me through my mail:   skshahed.du.swe@gmail.com

      Thanks,
      Shahed


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings