d8a_get_tracking_install
Use this before adding or fixing tracking code on a site: it returns the property's collector URL and ready-to-paste snippets for every method its protocol supports (native tracker: script tag, npm, Google Tag Manager; GA4: duplicate events from the existing GTM setup; Matomo: add a second tracker, or replace on explicit request). The protocol is fixed per property, so only matching methods are offered. Keep existing analytics (do not remove GA4) unless the user asks.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"property_id": "<property_id>"
},
"name": "d8a_get_tracking_install"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | One install method; omit for all of the protocol's methods. | |
| property_id | Yes | Property ID from d8a_list_properties. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| methods | Yes | ||
| property_id | Yes | ||
| protocol_id | Yes | ||
| tracking_url | Yes | ||
| verification | Yes | ||
| protocol_label | Yes |