Updates an app integration analytics
The app integration analytics id.
The brand URL of the request. This is used to identify the brand.
YOUR_BRAND_URL
This is used to authenticate the request. If the request is not authenticated, the server will return a 401 Unauthorized response.
YOUR_AUTH_KEY
Provides a data transfer object for the Analytics integration which is used for command requests.
This is used to associate this configuration with a specific integration instance.
This ID is used to track and associate events/data with a specific analytics property or project.
This is usually embedded in the frontend to initialize and send data to the analytics platform.
Gets or sets the API secret or verification URL used to authorize or validate requests from the Jframework.
This can include environment-specific data, custom flags, or platform-specific information.
Gets or sets any additional notes or identifiers related to the account or setup that manages this Analytics configuration.
Flag to indicate if the analytics integration is the default. By default, it is false.
The request was successful.
The user is not authorized to access the requested resource. The request is missing the required Auth-Key header.
The user's access was denied.
The user has exceeded the rate limit.
PUT /api/v1/app-integrations/analytics/{id} HTTP/1.1
Host: protocol.jframework.io
Brand-URL: text
Auth-Key: text
Content-Type: application/json
Accept: */*
Content-Length: 289
{
"appIntegrationId": "sApKpllz4sAplsmzha",
"trackingId": "UA-98765432-1",
"apiKey": "AIzaSyD-EXAMPLE-KEY-1234567890",
"apiSecret": "s3cr3tV@lu3",
"metadata": "{\"env\":\"production\",\"platform\":\"web\"}",
"accountConfigNotes": "Google Analytics for main website",
"isDefault": true,
"status": "Active"
}
{
"success": true,
"statusCode": 200,
"message": "The request was successful.",
"data": {
"appIntegration": {
"type": "PaymentGateway",
"name": "Stripe",
"domain": "https://stripe.com",
"description": "Stripe payment gateway",
"logoURL": null,
"status": "Active",
"id": "sApKpllz4sAplsmzha"
},
"trackingId": "G-XXXXXXX",
"apiKey": "AIzaS*************",
"apiSecret": "SECRET_KEY",
"metadata": "Environment=Production;Region=US",
"accountConfigNotes": "Google Analytics 4 setup for main website",
"isDefault": false,
"status": "Inactive",
"id": "sApKpllz4sAplsmzha",
"createdDate": "2025-07-15T14:34:48.0587695+07:00"
},
"errors": []
}
Last updated
Was this helpful?