Description Usage Arguments Value References See Also
Gets a goal to which the user has access to
| 1 | get_goal(account.id, webproperty.id, profile.id, goal.id, token)
 | 
| account.id | integer or character. Account ID to retrieve the goal for. | 
| webproperty.id | character. Web property ID to retrieve the goal for. | 
| profile.id | ineger or character. View (Profile) ID to retrieve the goal for. | 
| goal.id | ineger or character. Goal ID to retrieve the goal for. | 
| token | 
 | 
An Analytics goal resource
| id | Goal ID. | 
| kind | Resource type for an Analytics goal. | 
| self.link | Link for this goal. | 
| account.id | Account ID to which this goal belongs. | 
| webproperty.id | Web property ID to which this goal belongs. The web property ID is of the form UA-XXXXX-YY. | 
| internal.webproperty.id | Internal ID for the web property to which this goal belongs. | 
| profile.id | View (Profile) ID to which this goal belongs. | 
| name | Goal name. | 
| value | Goal value. | 
| active | Determines whether this goal is active. | 
| type | Goal type. Possible values are URL_DESTINATION, VISIT_TIME_ON_SITE, VISIT_NUM_PAGES, and EVENT. | 
| created | Time this goal was created. | 
| updated | Time this goal was last modified. | 
| parent.link | Parent link for a goal. Points to the view (profile) to which this goal belongs. | 
| visit.time.on.site.details | Details for the goal of the type VISIT_TIME_ON_SITE. | 
Other Management API: get_custom_dimension;
get_custom_metric;
get_experiment; get_filter;
get_profile;
get_unsampled_report;
get_webproperty;
list_accounts;
list_custom_dimensions;
list_custom_metrics;
list_custom_sources;
list_experiments;
list_filters; list_goals;
list_profiles; list_segments;
list_unsampled_reports;
list_webproperties
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.