Custom code and tracking

Add Google Analytics, Meta Pixel, and custom scripts.

4 min read Updated 2026-04-24

Inject scripts in three places: site-level <head>, site-level before </body>, or per-page custom code.

  • Google Analytics 4 — paste the gtag snippet in <head>.
  • Meta Pixel — paste before </body> for page-view; add custom events in workflows.
  • Hotjar/Fullstory/LogRocket — paste in <head>.
  • Custom chat widgets.
  • Cookie consent banners — we recommend CookieYes or Cookiebot.