settings_analytics
Connect Google Tag Manager, Google Analytics or the Meta Pixel. Money is integer minor units (cents). Calling this changes nothing: it returns a preview of what would change and a confirmation link. Only the merchant, on that page, can make it happen.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "settings_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metaPixelId | No | Meta (Facebook) Pixel id, digits only (or a pasted pixel snippet). Empty switches it off. | |
| gtmContainerId | No | Google Tag Manager container id, GTM-XXXXXXX. A pasted GTM or gtag snippet is fine: the id is taken from it. The platform loads the container itself, behind the shop's cookie consent, so never add a GTM snippet as a custom script. Empty switches Tag Manager off. | |
| ga4MeasurementId | No | Google Analytics 4 measurement id, G-XXXXXXXXXX (or a pasted gtag snippet). Not needed when GA4 is set up inside the Tag Manager container. Empty switches it off. | |
| gtmAccountNumber | No | Optional: the Tag Manager account number, digits, for the link to the container. | |
| gtmContainerNumber | No | Optional: the Tag Manager container number, digits, for the link to the container. |