API Reference

WordPress / API Reference

analytics_detect_forms

Tool tool. Scan a WordPress page's HTML content for all <form> elements and return their CSS selectors (id, class, action). Use this to find the right selector before setting up form conversion tracking.

This is a read-only tool: it returns analytics detect forms 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 detect forms in my WordPress account.

It takes 0 required and 2 optional parameters.

Parameters

ParameterTypeRequiredDescription
page_idintegerNoPage Id
page_slugstringNoPage Slug

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.