Utilizing Code Snippets and Custom CSS

This article shows you where to put code snippets for Facebook tracking pixels, analytics tools, and other web services. If a web service told you to put their code snippet in the head tag of your site, or you want to include custom CSS across your site, then read on.

Utilizing Code Snippets in Your Head

NOTE: Adding code snippets to your school's head tag is available on the Basic plan and upwards.

  1. Log into your Teachable school.
  2. Select Site.
  3. Click Code Snippets. code snippets
  4. Include additional HTML/JavaScript snippets inside the head tag for Logged in users, Logged out users, or in the Head Code Snippets field for all pages.

    logged in code snippetslogged out code snippets

    head_code_snippets.png
  5. Click Save.

Including Custom CSS

  1. Log into your Teachable school.
  2. Select Site.
  3. Click Code Snippets. code snippets
  4. Input custom CSS across your entire site. custom css
  5. Save your changes.
thanks_illustration

Can't find what you're looking for?

Contact us
thanks_illustration