Swifty Knowledge Base

How to add or remove a tracking code on your website

Updated Nov 21, 2026

Add or remove analytics tags, pixels, and approved third-party scripts on your Swifty website from Settings > Tracking Codes.

Tracking codes are the small scripts that run analytics, pixels, and some chat tools on your website. You can add, disable, or remove them yourself from your Swifty dashboard.

  1. Open your Swifty dashboard and go to Settings > Tracking Codes.
  2. Click Add Code and give it a clear name, such as "GA4" or "Meta Pixel."
  3. Choose where the script should load: the page Head or the Body.
  4. Paste the complete script tag exactly as your vendor provided it, as text, not as a screenshot or a partial snippet.
  5. Click SAVE/UPDATE.
  6. Open your live site in a private or incognito browser window to confirm the script fires.
Tip: to remove a script without deleting it, use the Disable checkbox instead. You can turn it back on later without re-pasting anything.
Note: only a fixed set of vendor scripts can be added this way, including Google Analytics 4, Google Tag Manager, Meta Pixel, LinkedIn Insight Tag, TikTok Pixel, Hotjar, Microsoft Clarity, and a small list of chat providers. If your script is not on the approved list, or it is a full chatbot install rather than an analytics or pixel tag, see the article on adding a chat widget instead, or contact support.
Heads up: do not paste the same script twice, and make sure each code block contains exactly one complete script tag. A partial or duplicated tag is the most common reason a script fails to fire.

Still stuck?

If a script is added but not showing on the live site, clear your cache first, then contact support with the exact script and the page URL.

Related:

Was this article helpful?