Checking if property (is upgraded to) use Universal Analytics

30 views
Skip to first unread message

Erik Eng

unread,
Apr 13, 2014, 10:01:01 AM4/13/14
to google-analytics...@googlegroups.com
I'm providing users with dynamic tracking codes for their sites, but I cannot control if or when they are upgrade to Universal Analytics.

Is there some property/param of an analytics#webproperty or analytics#profile object that I use at to determine if it's updated to or created using Universal Analytics? Instead of using the Classic Analytics type of property.

{
  "id": "…",
  "kind": "analytics#profile",
  "selfLink": "https://www.googleapis.com/analytics/v3/management/accounts/…/webproperties/UA-…-1/profiles/…",
  "accountId": "…",
  "webPropertyId": "UA-…-1",
  "internalWebPropertyId": "…",
  "name": "…",
  "currency": "SEK",
  "timezone": "Europe/Stockholm",
  "websiteUrl": "http://…",
  "siteSearchQueryParameters": "q",
  "stripSiteSearchQueryParameters": false,
  "type": "WEB",
  "permissions": {
    "effective": [
      "COLLABORATE",
      "EDIT",
      "MANAGE_USERS",
      "READ_AND_ANALYZE"
    ]
  },
  "created": "2007-04-10T12:05:23.000Z",
  "updated": "2014-03-21T09:24:03.214Z",
  "eCommerceTracking": true,
  "parentLink": {
    "type": "analytics#webproperty",
    "href": "https://www.googleapis.com/analytics/v3/management/accounts/…/webproperties/UA-…-1"
  },
  "childLink": {
    "type": "analytics#goals",
    "href": "https://www.googleapis.com/analytics/v3/management/accounts/…/webproperties/UA-…-1/profiles/…/goals"
  }
}
Message has been deleted

Erik Eng

unread,
Apr 13, 2014, 10:22:36 AM4/13/14
to google-analytics...@googlegroups.com
Here it states that this can be determined on the Admin page, but I need to check for this via the API.

Dj Gandi

unread,
Apr 13, 2014, 10:26:37 AM4/13/14
to google-analytics...@googlegroups.com


On Sun, Apr 13, 2014 at 4:22 PM, Erik Eng <e.p...@gmail.com> wrote:
Here it states that this can be determined on the Admin page, but I need to check for this via the API.

--
You received this message because you are subscribed to the Google Groups "Google Analytics Reporting API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-analytics-data-...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages