get_tracking_pixel
Returns the JavaScript snippet to install on a website so visitors can be identified, plus websiteId, clientId, status and url.
Get tracking snippet · Read-only
Returns the JavaScript snippet to install on a website so visitors can be identified, plus websiteId, clientId, status and url. Give trackingScript to the user to add to every page of their site (or their tag manager / site builder). After it is installed, run verify_website. websiteId comes from list_websites or add_website.
| Connection | Account URL, team member URL or OAuth |
|---|
Parameters
| Parameter | Type | Required | Accepts | Description |
|---|---|---|---|---|
websiteId | string | Yes | any | Website ID from list_websites or add_website. |
Tool definition
What your assistant receives from tools/list:
{
"name": "get_tracking_pixel",
"title": "Get tracking snippet",
"annotations": {
"title": "Get tracking snippet",
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false
},
"inputSchema": {
"type": "object",
"properties": {
"websiteId": {
"type": "string",
"description": "Website ID from list_websites or add_website."
}
},
"required": [
"websiteId"
]
}
}Used in
get_website
Returns one website's details: name, url, domain, clientId, trackingScript (the install snippet), status (unverified, verified, removed or failed), lastVerifiedAt, tracking settings (identifySettings, trackExactVisitors, trackCompanyWithSuggestedContacts, trackPersonalEmails, session recording, email digest), credit limits and remaining, trial dates, tags, intent-topic state, integrations and members.
verify_website
Loads the website's home page (from its saved url) and checks whether this website's tracking snippet is in the HTML.