API Reference

WordPress / API Reference

analytics_ga4_test_event

Tool tool. Send a test event to GA4 via Measurement Protocol. Returns the payload and endpoint to use for server-side tracking

This is a read-only tool: it returns analytics ga4 test event for your WordPress account. It changes nothing.

Ask Claude

You do not call this tool yourself. Ask for the outcome and the client picks the tool:

Analytics ga4 test event in my WordPress account for [measurement id], [api secret].

It takes 2 required and 2 optional parameters.

Parameters

ParameterTypeRequiredDescription
measurement_idstringYesMeasurement Id
api_secretstringYesApi Secret
event_namestringNoEvent Name
paramsobjectNoParams

Related WordPress tools

Start free — 30 tool calls a month

No card required. Connect Google Ads, Meta Ads, GA4 or Search Console and ask Claude for the outcome — it picks the tool.