Forum Replies Created

  • It sounds like you’re dealing with a puzzler where your GA4’s debug view isn’t showing events for a certain subdomain even though hits are being fired off correctly via GTM. Although it’s uncommon, there could be a hiccup specific to that subdomain or how GA4 is processing its data in debug view. It might be worth seeking advice from GA4 support or technical communities online for this quirky issue.

  • Liam

    Member
    7 April 2023 at 5:06 pm in reply to: How to retrieve report data from Google Analytics 4 (GA4)

    Yes, many have been using the @google-analytics/data library to fetch data from Google Analytics within their applications. However, your concern is valid. The ‘BETA’ label means the library is not yet officially released as a stable version, so it may contain bugs or the API might change in the future. While it may work perfectly at the moment, issues could arise unexpectedly, which is something to consider when building something crucial for your application that needs high reliability. For alternatives, you can consider googleapis, another Google’s Node.js client library which supports Google Analytics as well. Just remember no matter what library or API you use, the best practice is to be prepared to handle any potential errors or changes to ensure your application runs smoothly.

  • Liam

    Member
    3 April 2023 at 11:48 pm in reply to: GA4 Event Tracking – How to Access Complete Parameter Name?

    In Google Analytics 4 (GA4), there are indeed ways to view complete URLs and export the data, but it requires a slightly different process compared to older versions like Universal Google Analytics. To see the complete URLs, you need to use a feature in GA4 called ‘dimensions’. You can create custom dimensions and apply them to the data you’re tracking. So, in your case, you can create a dimension based on the URL or page path. Once this is set up, it should display the full URL.

    As for exporting the data, GA4 provides an export function to Google Sheets, CSV, and Excel. From any report in GA4, click on the export option found near the top right side of the interface and choose your desired format. Note that the export will include whatever data is currently displayed based on your current filters, so make sure you have your desired dimension set for the full URLs. If all this sounds a bit complicated, don’t worry. Google provides good tutorials and help sections that can guide you through these processes. You can also reach out to their support for more specific assistance.

  • Google has set thresholds in place to ensure the privacy of individual users. When the set threshold is not met, the data is not shown. The exact number where thresholding occurs might change and isn’t specified by Google for user privacy reasons. However, it is noted to be somewhere between 35-50. This range can provide you with an approximation for your customers’ margin of error. Unfortunately, this thresholding practice is observed regardless of the frequency of pulling data from the Google Analytics 4 API and is not affected by whether Google Signals is used or not.

  • Liam

    Member
    12 November 2022 at 2:56 pm in reply to: Google Analytics GA4: How to get it working with Hugo

    Alright friend, let’s take a deep breath and tackle this!

    Firstly, double-check your config file is set with googleAnalytics="G-XXXXX". Make sure that “G-XXXXX” is your specific measurement id from Google Analytics 4. You can assign it on the Google Analytics site.

    Next, deploy your site with this new change. Once it’s up and running, clear your cache and refresh your site while the Network tab of your Developer tools is open in your browser.

    In the Network tab, apply a filter for “collect”. Look for this term in any calls that show up.

    You’re trying to find your measurement id, that “G-XXXXX”, in the tid property of these calls.

    If your id pops up, you’re golden! It can take a day or two sometimes but soon you should start seeing data show up in your Google Analytics reports. You can also view real-time reports to check it more promptly.

    If it doesn’t, looks like your theme might not recognise the Google Analytics 4 configuration. It could be hard-coded to ignore it. Here’s what we can do about it: tweak your theme to use the correct code, either from the settings or by hardcoding the correct Google Analytics 4 code yourself. Or, stick with your current tracking code (a.k.a. UA tracking code) and use Google’s setup assistant to convert it to Google Analytics 4.

    Honestly, if tracking is a big deal for your site, consider dropping this UA/GA4 setup and use Google Tag Manager instead. It might be more efficient if you’re looking to track more than your typical pageviews.

    Hope this helps, mate! Let me know if you have any more questions.