Goals
A Goals resource describes a goal for one of a user's profiles.
Columns
Name | Type | ReadOnly | Description |
Id [KEY] | String | True |
Goal Id. |
WebPropertyId [KEY] | String | True |
Web property ID to which this goal belongs. The web property ID is of the form UA-XXXXX-YY. |
Kind | String | True |
Resource type for Analytics profile. |
SelfLink | String | True |
Link for this goal. |
AccountId | String | True |
Account ID to which this goal belongs. |
InternalWebPropertyId | String | True |
Internal ID for the web property to which this goal belongs. |
ProfileId | String | True |
View (Profile) ID to which this goal belongs. |
Name | String | True |
Goal name. |
Active | Boolean | True |
Determines whether this goal is active. |
Value | Double | True |
Goal value. |
Type | String | True |
Goal type. Possible values are URL_DESTINATION, VISIT_TIME_ON_SITE, VISIT_NUM_PAGES, and EVENT. |
Created | Datetime | True |
Time this goal was created. |
Updated | Datetime | True |
Time this goal was last modified. |
ParentLink | String | True |
Parent link for a goal. Points to the view (profile) to which this goal belongs. |
UrlDestinationDetails | String | True |
Details for the goal of the type URL_DESTINATION. |
VisitTimeOnSiteDetails | String | True |
Details for the goal of the type VISIT_TIME_ON_SITE. |
VisitNumPagesDetails | String | True |
Value used for this comparison. |
EventDetails | String | True |
Details for the goal of the type EVENT. |