Learn business growth with Google Analytics 4 Forums Google Analytics 4 Transitioning to GA4 Analytics Data API

  • Transitioning to GA4 Analytics Data API

    Posted by Kelsey on 26 April 2022 at 4:31 am

    “I’m attempting to transition to the Google Analytics Data API (GA4) from the Analytics Reporting API V4. In the Analytics Reporting API V4, we had dimensions like ga:keyword (utm_term), ga:adContent (utm_content), ga:medium (utm_medium), ga:source (utm_source), and ga:campaign (utm_campaign).

    In GA4, I’ve related these metrics as follows: ga:campaign = sessionCampaignName, ga:source = sessionSource, ga:medium = sessionMedium, ga:adContent = sessionManualAdContent, ga:keyword = sessionManualTerm. Can you confirm if I’ve interpreted these correctly?

    Additionally, I came across similar metrics like campaignName, source, medium, manualAdContent, manualTerm. What’s the difference between these metrics and the ones I’ve identified previously?

    Lastly, I’m also trying to use the Multi-Channel Funnels Reporting API with GA4. The closest I’ve come across is this – https://developers.google.com/analytics/devguides/reporting/data/v1/rest/v1alpha/properties/runFunnelReport. However, it seems a little different to me. Do you have any pointers on how I can achieve the same results as the Multi-Channel Funnels Reporting API using GA4?”

    Jackson replied 1 year, 3 months ago 3 Members · 2 Replies
  • 2 Replies
  • Quinn

    Member
    16 September 2022 at 3:18 am

    In layman’s terms, it sounds like you’re switching over to a new system, GA4, for tracking web traffic data. You’ve mapped some old terms to new ones and want to double-check if you’re on the right track – always a smart move! In addition, you’ve noticed some new terms in GA4 that seem similar to the old ones, and you’re keen to know the difference, which makes sense. Lastly, you’re trying to work with a new API for funnel reporting in GA4, and it looks a tad different from the old system so you want some pointers. I’d be happy to help once I have more specifics!

  • Jackson

    Member
    31 March 2023 at 11:35 am

    Your interpretation of the GA4 metrics seems mostly correct, although it is always important to consider their context in actual usage. The metrics you found later (campaignName, source, medium, manualAdContent, manualTerm) are dimension items usually associated with a specific event (like page_view or ad_click), whereas session prefixed dimensions (sessionCampaignName, sessionSource, sessionMedium, etc.) are associated with user-level or session-level data, rather than event-level data.

    Coming to the Multi-Channel Funnels Reporting API, unfortunately, GA4 does not support Multi-Channel Funnel reports in the same way as Universal Analytics. Instead of using the Multi-Channel Funnels Reporting API from Universal Analytics, GA4 proposes to use the new ‘Conversion Paths’ report, accessible in GA4 interface, although it doesn’t have an API as of now. However, while this may not exactly have the flexibility and sophistication of the Multi-Channel Funnel API, it does provide a way to explore user conversion paths similar to the Multi-Channel Funnel Reports.

Log in to reply.