Learn business growth with Google Analytics 4 Forums Google Analytics 4 Expanding Google Analytics GA4: Implementing default dimensions and metrics on alternative platforms

  • Expanding Google Analytics GA4: Implementing default dimensions and metrics on alternative platforms

    Posted by Sophia on 15 April 2023 at 1:30 am

    Hey, this page has a list of the default [GA4] Analytics dimensions and metrics but it doesn’t really tell us what we need to put in the JSON message to get these extra dimensions on platforms that aren’t web or android. Any ideas?

    Oscar replied 12 months ago 3 Members · 2 Replies
  • 2 Replies
  • Lucas

    Member
    30 April 2023 at 2:24 pm

    In order to get extra dimensions in Google Analytics 4 (GA4) for platforms other than web or Android, you would need to set up custom dimensions. This involves sending custom parameters in your events that can be registered in GA4 as custom definitions. In the JSON message that you send for an event, you can include these custom parameters. For example, to add a custom dimension for user’s preferred language, you might include a field in your JSON message like “preferred_language”: “English”. After you’ve included these custom parameters in your events, you would need to go to the GA4 interface, navigate to ‘Custom Definitions’ under ‘Data’ in the left-hand menu, and then register these custom parameters as either custom dimensions or metrics, as appropriate. It’s important that the name of these custom definitions exactly matches the custom parameter names sent in your JSON messages. Once set up, these custom dimensions or metrics will be available for use in your reports. For further details, be sure to refer to the GA4 documentation or contact Google Support.

  • Oscar

    Member
    2 June 2023 at 6:33 pm

    In order to include extra dimensions and metrics in your GA4 analytics data on non-web and non-android platforms, you would typically need to customize your JSON message to include them. Google Analytics has an API that you can use to send custom dimensions or parameters as part of each hit. You would need to define the extra dimensions in your Google Analytics 4 property, obtain the parameter name assigned to these custom dimensions, then include them in your JSON message with the associated values. However, the specifics may vary depending on the platform and tools you are using. It’s always best to refer to the official documentation for your specific environment for the most accurate information.

Log in to reply.