Information for: DEVELOPERS   PARTNERS   SUPPORT

Google Analytics - Data pulled from the API

What data does Customer Data Platform (CDP) pull from Google Analytics?

The Google Analytics API-based connectors provides access to the Last-touch Revenue-Attribution feed. Detail of the logic used by Google Analytics for revenue attribution are documented here (as of 12/12/2013).

Please note that this integration works for both Classic Analytics and Universal Analytics (the new version of Google Analytics)

To obtain the report above, we pull the following data from Google Analytics

Dimensions

  1. Date: The data of the event
  2. Source: “The source of referrals to your property. When using manual campaign tracking, the value of the utm_source campaign tracking parameter. When using AdWords autotagging, the value is google. Otherwise the domain of the source referring the visitor to your property (e.g. document.referrer). The value may also contain a port address. If the visitor arrived without a referrer, the value is (direct)” (source: Google Analytics)
  3. Medium: “The type of referrals to your property. When using manual campaign tracking, this is the value of the utm_medium campaign tracking parameter. When using AdWords autotagging, the value is ppc. If the user comes from a search engine detected by Google Analytics, the value is organic. If the referrer is not a search engine, the value is referral. If the visitor came directly to the property, and document.referrer is empty, the value is (none).” (source: Google Analytics)
  4. Campaign: “When using manual campaign tracking, the value of the utm_campaign campaign tracking parameter. When using AdWords autotagging, the name(s) of the online ad campaign that you use for your property. Otherwise the value (not set) is used.” (source: Google Analytics)
  5. AdWords AdGroup: “The name of your AdWords ad group.”
  6. AdWords Keyword: “When using manual campaign tracking, the value of the utm_term campaign tracking parameter. When using AdWords autotagging or if a visitor used organic search to reach your property, the keywords used by visitors to reach your property. Otherwise the value is (not set).”
  7. TransactionId: “The transaction ID for the shopping cart purchase as supplied by your ecommerce tracking method.”(source: Google Analytics)

Other dimensions are available in the Google Analytics API(for example: AdWords AdMatchType), but it only allow to pull 7 dimensions at the same time.

Metrics

  1. Transaction Revenue : this is not leveraged in any parts of our applications, as we rely on the more accurate revenue we get from either your daily data feeds, or our webtag. The only reason we pull this information is to generate a report that will technically allow us to extract the rest of the information from the Google Analytics API.