Add Analytics Tracking to Your Branding Template

Prev Next

You can add analytics tracking scripts, such as those from Google Tag Manager, Facebook, Capture, and others to your Slate branding template. Slate files requires valid XHTML. In XHTML, attribute minimization is forbidden, and attribute values must always be wrapped in quotes.

To add a script 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. Do not change the ‘Path’ or ‘Visibility’ settings.

  5. Select Save.

📖 Further reading:

Still looking for what you need?