Scripts, Privacy, and Performance

Third-party scripts β€” analytics, ads, chat widgets, and custom embeds β€” belong in one place so they load predictably and do not slow every page by default.

Overview: Privacy-Conscious Analytics Loading.

Open Scripts & Embeds

  1. Go to Appearance β†’ Customize.
  2. Open Scripts & Embeds.
  3. Configure the panels you need, then click Publish.

Analytics and tracking

Analytics & Tracking:

  1. Enter IDs only for services you use β€” Google Analytics, Google Tag Manager, Facebook Pixel, LinkedIn, StackAdapt, Hotjar, and others listed in the panel.
  2. Leave unused fields blank.
  3. Choose Tracking Load Strategy:
    • After Page Load β€” scripts run once the page has loaded (good default).
    • First Interaction β€” scripts wait until the visitor clicks or scrolls (lighter initial load).
  4. When WooCommerce is active, enable ecommerce options if you need purchase data in your analytics platform.

After publishing, open the site in a private window and confirm tags fire in your provider's debugger.

GDPR and cookie consent

GDPR Banner:

  1. Toggle Enable on when you need a consent notice.
  2. Customize headline, body message, and accept/decline button labels.
  3. Pair with Analytics & Tracking so scripts respect the visitor's choice.

Visitors who decline should not load non-essential tracking until they opt in (behavior depends on the load strategy and provider).

Custom embeds and fonts

Custom Embeds β€” paste vetted snippet code for chat, scheduling, or other widgets that do not have a dedicated ID field. Use one embed per logical tool; avoid duplicating the same script in a page block and here.

Embed Fonts β€” load Google Fonts or other hosted families not bundled in Dirigible Fonts. Fonts added here also appear in the block editor preview when possible.

Performance options

Performance β€” theme-level switches that reduce unnecessary work on the front end. Review each option against your site needs; aggressive optimizations can affect editor-adjacent features on some hosts.

For cache clears and maintenance tasks, see Tools and Maintenance.

Suggested workflow

Order Task Panel
1 Decide which trackers you actually need Analytics & Tracking
2 Enable consent if required GDPR Banner
3 Add chat or booking snippets Custom Embeds
4 Add extra web fonts if needed Embed Fonts
5 Tune performance toggles Performance
6 Test in a private window β€”

What to avoid

  • Do not paste the same tracking snippet into every page β€” use the Customizer fields once.
  • Do not enable every performance toggle without checking key flows (forms, checkout, pop-up).
  • Do not skip Publish after changes; unpublished script settings never reach visitors.

Verification fields

Some panels include site verification meta for Google Search Console or Facebook domain verification. These are not analytics β€” they only prove domain ownership to those services.

Related guides