Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
Creates a new CustomDimension within a specified Google Analytics 4 property.
Requires https://www.googleapis.com/auth/analytics.edit authorization scope for execution.
Utilizes an HTTP POST request to https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/customDimensions, accepting a CustomDimension object in the request body.
If successful, the response returns the newly created CustomDimension object.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-09 UTC."],[],["A `POST` request to `https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/customDimensions` creates a CustomDimension. The `parent` path parameter, formatted as `properties/1234`, is required. The request body must include a `CustomDimension` instance. Upon success, a newly created `CustomDimension` instance is returned in the response. This action requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope for authorization.\n"]]