Learn business growth with Google Analytics 4 Forums Google Analytics 4 Trouble displaying screen_name parameter in Google Analytics reports

  • Trouble displaying screen_name parameter in Google Analytics reports

    Posted by Gabriel on 16 January 2023 at 6:20 am

    Hey! So, I’m using Google Analytics for tracking screen views on a web-based single page application. I set it up so that each time there’s a navigation, a ‘screen_view’ event fires with a ‘screen_name’ parameter like this:

    gtag('event', 'screen_view', {
                    'screen_name': screenName,
                });
    

    It all shows up nicely in real-time data on the Analytics site, but I’m stumped when it comes to reports. Even when I include the parameter as a dimension in a report, it doesn’t seem to carry any data. I’m scratching my head over this one – I feel like it’s something simple I’m missing.

    If anyone could help me sort this out, I’d be stoked!

    Oliver replied 1 year, 5 months ago 3 Members · 2 Replies
  • 2 Replies
  • Oliver

    Member
    27 April 2023 at 9:58 am

    It sounds like you’ve done everything right in setting up the tracking, but sometimes there can be a delay between when the data is collected and when it appears in your reports. Also remember to check if you’re looking at the right date range that includes when your data was collected.

  • Oliver

    Member
    11 June 2023 at 10:24 pm

    This issue might be happening because ‘screen_name’ is not a default dimension in Google Analytics, so it won’t automatically be included within your reports. To utilize custom parameters like ‘screen_name’, you would need to set up a ‘Custom Definition’ or a ‘Custom Dimension’ within your Google Analytics admin settings. After setting this up, you should start seeing data for ‘screen_name’ in your events reports. Also, keep in mind that custom dimensions only start collecting data from the day they are created and won’t work retroactively.

Log in to reply.