API Reference

WordPress / API Reference

analytics_woo_google_ads_add_to_cart

Tool tool. Inject Google Ads add-to-cart conversion tracking for WooCommerce. Fires via the WooCommerce 'added_to_cart' jQuery event (works for both AJAX and standard add-to-cart).

This is a read-only tool: it returns analytics woo google ads add to cart 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 woo google ads add to cart in my WordPress account for [conversion id], [send to].

It takes 2 required and 2 optional parameters.

Parameters

ParameterTypeRequiredDescription
conversion_idstringYesConversion Id
send_tostringYesSend To
currencystringNoCurrency
include_valuebooleanNoInclude Value

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.