Forum Replies Created

  • Jordan

    Member
    9 July 2023 at 4:29 pm in reply to: Incomplete data when adding dimensions – Need suggestions

    This indeed sounds like a perplexing issue. While I can’t give a definitive answer without more details, there are a couple of possibilities for the inconsistency in your data. When you drill down into more specific dimensions such as ad group names, the data might be restricted due to privacy reasons or data threshold by Google. The API might not return data on ad groups with low traffic or revenue to preserve privacy. Another potential issue could be bugs or discrepancies between different Google tools, including Google Ads, GA4, and the Data API. This happens occasionally due to differences in data processing and latency. That said, you might want to consider reaching out to Google support for further clarification. They may be able to provide more detailed diagnostic information.

  • Jordan

    Member
    18 June 2023 at 12:59 am in reply to: Automating button clicks in Google Sheets for Analytics v4 Reports

    Unfortunately, Google Apps Script cannot directly simulate a button click on a Google Sheet. The actions triggered by click events on an interface can only be reproduced by calling the function directly associated with that button’s click event. The clickable images or buttons implemented by SyncWith are likely using their own proprietary function upon a click event which makes it almost impossible to reproduce from a standalone Google Apps script. However, you can consider reaching out to the SyncWith support, they might provide you with a Public API or a way to automate this workflow.

  • When I was dealing with a similar problem, I found creating a new OAuth client ended up being the best solution. This allowed me to generate a new refresh_token for the account based on the Google Analytics scope. Once I created the new client, I downloaded the client_secrets.json and ran through the entire process, step by step, following the Complete Example by Google. After that, I was able to refresh the token without any problems. It might be worth a shot for you too!

  • It sounds like your GTM and GA4 configurations may not be set up correctly. It could be a problem with how you’ve configured the triggers or tags in Google Tag Manager or you might not have properly connected your GA4 property to your GTM container. It might be worth double-checking the setup instructions and making sure everything is linked correctly.

  • To understand this, you need to understand how GA4 calculates its audience size. The equation (1 < 3 < 4 = 2) signifies that the audience size varies based on the scope conditions in GA4 and it doesn't always correlate with the number of sessions that meet your criteria in a linear way.

    The scope can be set at "User", "Session" or "Event". GA4 measures audience condition scope differently. For "User" scope, if any user session or event meets the criteria within 30 days, the user is included in the audience size. For "Session" scope, if any session meets the criteria in 30 days, it's counted in the audience size even if the same user had different sessions. For "Event" scope, GA4 counts each individual event that meets the criteria within 30 days.

    If we take John's example, according to "User" scope (condition 1), John is counted as one user since he met the criteria within 30 days. In the "Session" scope (condition 3), John contributes three since he had three sessions that met the criteria. Using "Event" scope (condition 4), John contributes two, given if he only triggered two events that met the criteria, regardless of his sessions. Condition 2 wasn’t mentioned clearly in the question.

    That's why the audience size could appear as you've witnessed (1 < 3 < 4 = 2). The number of sessions that meet the criteria doesn't always directly correspond with your audience size, as it also depends on the condition scope.

  • Jordan

    Member
    12 April 2023 at 3:36 am in reply to: Trouble with GA4 visibility of events pushed through Gaq

    Sure, I can help with that! You basically need to change your old UA tracking code to fit the new GA4 standards. It’s a bit of a task, as GA4 works on “events” not “hits”, which is a shift in thinking. This means rewriting your tracking codes to fit this new structure, but I assure you it’s totally doable before your July deadline. Let’s get cracking!

  • Jordan

    Member
    17 February 2023 at 2:35 am in reply to: What is the method to monitor news topics in GA4?

    In order to include a list of categories within the “article_read” GTM tag, you should consider adding a new key-value pair to this tag. The new key could be named as “article_categories”. The value of this key would be an array or list of the relevant categories for each article. These categories could be strings like “Electricity”, “Refrigeration”, “Sanitation”, “Water & Sewer”, “Ventilation” and “Heat”. So with this addition, when your GTM tag “article_read” is triggered, it would not only contain your standard keys like “news_id” and “article_title” but also an “article_categories” list that contains all the relevant categories of that particular article. This approach would offer the flexibility to associate zero, one or multiple categories with each news article.