Add Analytics Tracking to Your Branding Template
  • 17 Feb 2026
  • Dark
    Light
  • PDF

Add Analytics Tracking to Your Branding Template

  • Dark
    Light
  • PDF

Article summary

You can add analytics tracking scripts, such as those from Google Tag Manager, Facebook, Capture, and others to your Slate branding template.

Scripts in Slate

Slate files requires valid XHTML. In XHTML, attribute minimization is forbidden, and attribute values must always be wrapped in quotes.

📖 W3 Schools - HTML Versus XHTML

Adding scripts to your branding template

  1. Go to Database → Files.

  2. Select Shared.

  3. Select /shared/build.XSLT.

  4. On any line between the opening <head> tag and the closing </head> tag, paste the script.

  5. Select Save.

📖 Further reading


Was this article helpful?