API Reference

WordPress / API Reference

analytics_wc_enhanced_ecommerce

Tool tool. Configure WooCommerce Enhanced Ecommerce tracking for GA4 (product impressions, add to cart, checkout, purchase events)

This is a read-only tool: it returns analytics wc enhanced ecommerce 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 wc enhanced ecommerce in my WordPress account for [measurement id].

It takes 1 required and 5 optional parameters.

Parameters

ParameterTypeRequiredDescription
measurement_idstringYesMeasurement Id
pluginstringNoPlugin
track_product_viewsbooleanNoTrack Product Views
track_add_to_cartbooleanNoTrack Add To Cart
track_checkoutbooleanNoTrack Checkout
track_purchasesbooleanNoTrack Purchases

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.