Hey
Is there a way to add js tracking code from other products like optimizely/kissmetrics to the forum from the admin?
Hey
Is there a way to add js tracking code from other products like optimizely/kissmetrics to the forum from the admin?
In Admin > Customize
> CSS/HTML
, create a new customization.
Look at the </body>
section.
Add something like:
<script>
// The crazy additional JavasScript code you want to add here.
</script>
Note, this only covers desktop, we need a cleaner way of quickly adding a script to both desktop and mobile.
Yes. There is now a “Common” theme which is applied to both desktop and mobile.
The CSS/HTML tab doesn’t exist anymore.
Is there somewhere else I can add custom scripts?
This topic is quite old. We’ve redone our customization system since this was written.
To add JS to your site, go to /admin/customize/themes
, select your active theme (indicated by the *), then click “Edit CSS/HTML”. You’ll find the </body>
section there.