ActiveCampaign Site Tracking API

The Site Tracking API from ActiveCampaign — 2 operation(s) for site tracking.

GitHub OpenAPI

Operations 3

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /siteTracking/code Get the site tracking code snippet · ActiveCampaign Retrieve Site Tracking Code #
Ask an LLM
“Where do I get the JavaScript snippet to install site tracking on my website?”
“Can I fetch my site tracking code through the API?”
Tell an agent
Get my site tracking code snippet.
Give me the tracking script to paste on my website.
GET /siteTracking Check whether site tracking is enabled · ActiveCampaign Retrieve Status #
Ask an LLM
“Is site tracking currently turned on for my account?”
“How can I check the site tracking status?”
Tell an agent
Check if site tracking is enabled.
Tell me the current site tracking status.
PUT /siteTracking Turn site tracking on or off · ActiveCampaign Enable/disable #
Ask an LLM
“How do I switch site tracking on for my account?”
“Can I disable site tracking through the API?”
Tell an agent
Set site tracking to {siteTracking}.
Turn off site tracking for the account.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/activecampaign:activecampaign-site-tracking-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

activecampaign-site-tracking-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ActiveCampaign API v3 Site Tracking API
  version: '3'
  description: The primary REST API for ActiveCampaign, organized around resources such as contacts, deals, accounts, automations, campaigns, messages, lists, tags, webhooks, custom objects, and ecommerce entities.
  x-generated-from: documentation
  contact:
    name: ActiveCampaign Support
    url: https://www.activecampaign.com
  license:
    name: Proprietary
servers:
- url: https://{yourAccountName}.api-us1.com/api/3
  description: ActiveCampaign API server (account-specific)
  variables:
    yourAccountName:
      default: yourAccountName
      description: Your ActiveCampaign account name
security:
- ApiToken: []
tags:
- name: Site Tracking
paths:
  /siteTracking/code:
    get:
      summary: ActiveCampaign Retrieve Site Tracking Code
      description: Get site tracking code
      operationId: retrieve-site-tracking-code
      responses:
        '200':
          description: '200'
          content:
            text/plain:
              examples:
                Result:
                  value: "<script type=\"text/javascript\">\n    (function(e,t,o,n,p,r,i){e.prismGlobalObjectAlias=n;e.pgo=e.pgo||function(){(e.pgo.q=e.pgo.q||[]).push(arguments)};e.pgo.l=(new Date).getTime();r=t.createElement(\"script\");r.src=o;r.async=true;i=t.getElementsByTagName(\"script\")[0];i.parentNode.insertBefore(r,i)})(window,document,\"https://prism.app-us1.com/prism.js\",\"pgo\");\n\n    pgo('setAccount', YOUR_ACCOUNT_ID);\n    pgo('setTrackByDefault', true);\n\n    pgo('process');\n</script>"
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
      deprecated: false
      tags:
      - Site Tracking
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /siteTracking:
    get:
      summary: ActiveCampaign Retrieve Status
      description: Get site tracking status (enabled or disabled)
      operationId: retrieve-site-tracking-status
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: "{\n  \"siteTracking\": {\n    \"enabled\": true\n  }\n}"
              schema:
                type: object
                properties:
                  siteTracking:
                    type: object
                    properties:
                      enabled:
                        type: boolean
                        example: true
                        default: true
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
      deprecated: false
      tags:
      - Site Tracking
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    put:
      summary: ActiveCampaign Enable/disable
      description: Enable or disable site tracking
      operationId: enable-disable-site-tracking
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                siteTracking:
                  properties:
                    enabled:
                      type: boolean
                      description: Whether site tracking should be enabled
                  required:
                  - enabled
                  type: object
            examples:
              Enable:
                value:
                  siteTracking:
                    enabled: true
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: "{\n  \"siteTracking\": {\n    \"enabled\": true\n  }\n}"
              schema:
                type: object
                properties:
                  siteTracking:
                    type: object
                    properties:
                      enabled:
                        type: boolean
                        example: true
                        default: true
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
      deprecated: false
      x-readme:
        code-samples:
        - language: text
          code: "{\n  \"siteTracking\": {\n    \"enabled\": false\n  }\n}"
          name: Disable
        samples-languages:
        - text
      tags:
      - Site Tracking
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  securitySchemes:
    sec0:
      type: apiKey
      name: Api-Token
      in: header
      x-default: ''
    ApiToken:
      type: apiKey
      in: header
      name: Api-Token
      description: Your ActiveCampaign API token found in account settings under Developer tab
x-readme:
  headers: []
  explorer-enabled: false
  proxy-enabled: false
x-readme-fauxas: true