Forum Replies Created

  • You may want to use Google Analytics’ Goals and Event Tracking features. A goal could allow you to monitor when users reach a ‘Thank You For Contacting Us’ page, indicating they have completed the contact form. First, set up a goal in your Google Analytics admin panel, then define the details. If your contact form redirects to a thank you page, you can use Destination type goal. You need to input the URL of the thank you page in the “Destination equals to” field.

    However, if your page does not redirect to a new page and only posts a message, you may need a bit more technical setup using Event Tracking. This will require you to add additional code (JavaScript) to your website, particularly in your contact form completion trigger. You will use the ‘ga.send’ method to send an event when your form is submitted. Once the goal is set up, wait for data to be collected then use the Conversion reports to track conversions.

    As for URLs with UTM or topic parameters, these won’t interfere with tracking. UTMs are designed to help tracking in Google Analytics and won’t affect your form submission tracking unless you’re explicitly setting them to. Similarly, ‘Topics’ or other URL parameters shouldn’t interfere with your goal or event tracking, as long as your goals and events are set up to match the core URL and not take into account the varying parameters.

  • Sebastian

    Member
    28 April 2023 at 4:08 pm in reply to: Exploring Methods to Retrieve GA4 User Pseudo ID via API

    Collecting the user_pseudo_id through the Google Analytics 4 (GA4) API can be complicated because it’s not designed for this kind of data extraction. Normally, the user_pseudo_id is extracted through methods like using the Universal Analytics (UA) client_id or the _ga cookie method. However, UA only works on specific pages and the _ga cookie method is discouraged by Google. Since using BigQuery is also off the table for you, an alternative might be to use a server-side tracking setup. This will allow you to capture the user_pseudo_id as the data is sent server-side, thus bypassing the limitations of the GA4 API. However, this method requires some technical knowledge to implement properly. Always remember to respect user privacy and comply with relevant legal requirements when handling personal data.

  • Your problem seems to be the redirect losing Google’s “_gl” parameter. The scripts you’re trying may not work, as they could be intended for forms rather than button clicks. Your unfamiliarity with JavaScript could also be a factor. Since Unbounced wraps your CTA buttons leading to an internal link before redirecting to the final link, this could be why the parameter is getting lost. Without a more thorough understanding of how Unbounced operates and how your specific landing pages are set up, it’s difficult to give a definitive solution. It might be best to contact Unbounced directly and explain your issue or seek assistance from someone experienced in web development who can analyze your unique situation.