Google AnalyticsGoogle AnalyticsSEO/AEO

Create a key event on your GA4 property

google-analytics.x.analyticsadmin-properties-keyevents-create

keyEvents.create — Creates a Key Event.

Price
freeAt list price
Success rate
—No success-rate data yetLast 30 days · 7 calls
Latency p50
——
Last verified
—Not verified yet
POSThttps://toolswitch.dev/v1/tools/google-analytics.x.analyticsadmin-properties-keyevents-createBeta
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameters

ParameterTypeRequiredDescriptionExample
Path parameters
parentstringRequiredRequired. The resource name of the parent property where this Key Event will be created. Format: properties/123
  • Path parameters
  • parentstringRequired

    Required. The resource name of the parent property where this Key Event will be created. Format: properties/123

Code samples

Replace $TOOLSWITCH_KEY with the key you created in the console.

Beta
curl -X POST 'https://toolswitch.dev/v1/tools/google-analytics.x.analyticsadmin-properties-keyevents-create' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

This gateway API is in beta; its URL and authentication may change. The example parameters are sample data. Calls are billed at free, including the service fee.