HappierleadsDocs
MCP server

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.

ConnectionAccount URL, team member URL or OAuth

Parameters

ParameterTypeRequiredDescription
websiteIdstringYesWebsite 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"
    ]
  }
}

On this page