Googel analytic API - source and medium information based on ClientID
Is there any way to query the google analytics data to look for ClientID and then extract source and medium information of that client?
The scenario is, to look each clientID for x period amount of time and retrieve related info of that client like source, medium especially organic and direct, then append it to a custom URL as a parameter to pass it long between different system.
Client X -> Google API -> Source/Medium -> Website -> (Custom page with custom URL parameter + GA-source-medium-parameter) -> Next system -> Billing -> CRM (Client X - organic or Client X - Direct etc).
Is it possible on GA universal and GA4? Or it something can be setup using tag manager easily, by using cookie session or utm parameters?
PS - Not an API guy but did some decent research but couldn't locate the right info or examples.
from Recent Questions - Stack Overflow https://ift.tt/3ulSTpp
https://ift.tt/eA8V8J
Comments
Post a Comment