Learn business growth with Google Analytics 4 Forums Google Analytics 4 Understanding gtag parameters and addressing issues with page URL and button text Reply To: Understanding gtag parameters and addressing issues with page URL and button text

  • Amelia

    Member
    29 April 2023 at 3:00 am

    For the ‘page_url’, you’re supposed to input the actual URL of the page where the event happened. If you just type ‘page_url’, then, unfortunately, that’s exactly what it will log. For ‘button_text’, stick in the text that appears on the specific button that’s been clicked on your site. That way, you can track specifically which button is getting all the love. Keep in mind that this isn’t the default setup, so you may need a bit of JavaScript to make it happen.