/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals
POST
/management/accounts/{accountId}/webproperties/{webPropertyId}/profiles/{profileId}/goals
management
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://analytics.googleapis.com/analytics/v3/management/accounts//webproperties//profiles//goals' \
--header 'Content-Type: application/json' \
--data-raw ''
Response Response Example
{
"accountId": "string",
"active": true,
"created": "2019-08-24T14:15:22Z",
"eventDetails": {
"eventConditions": [
{
"comparisonType": "string",
"comparisonValue": "string",
"expression": "string",
"matchType": "string",
"type": "string"
}
],
"useEventValue": true
},
"id": "string",
"internalWebPropertyId": "string",
"kind": "analytics#goal",
"name": "string",
"parentLink": {
"href": "string",
"type": "analytics#profile"
},
"profileId": "string",
"selfLink": "string",
"type": "string",
"updated": "2019-08-24T14:15:22Z",
"urlDestinationDetails": {
"caseSensitive": true,
"firstStepRequired": true,
"matchType": "string",
"steps": [
{
"name": "string",
"number": 0,
"url": "string"
}
],
"url": "string"
},
"value": 0,
"visitNumPagesDetails": {
"comparisonType": "string",
"comparisonValue": "string"
},
"visitTimeOnSiteDetails": {
"comparisonType": "string",
"comparisonValue": "string"
},
"webPropertyId": "string"
}
Request
Path Params
accountId
string
required
webPropertyId
string
required
profileId
string
required
Body Params application/json
Responses
Modified at 2023-08-15 05:39:07