Privacy-Conscious Analytics Loading
What it helps you do
Connect analytics and ad pixels from one place, delay third-party scripts so they do not block page load, and optionally require cookie consent before tracking starts β without pasting fragile script tags into every template.
Where to find it
- Appearance β Customize β Scripts & Embeds
- Analytics & Tracking β provider IDs, load strategy, WooCommerce ecommerce options.
- GDPR Banner β enable the notice, layout, and message text.
- Scripts, Privacy, and Performance usage guide β workflow for pairing tracking with the banner.
Supported ID fields include Google Analytics ID, Google Tag Manager ID, Facebook Pixel ID, LinkedIn Partner ID, StackAdapt ID, and Hotjar ID, plus verification fields for Google and Facebook.
How to use it
- Open Customize β Scripts & Embeds β Analytics & Tracking.
- Enter IDs only for the services you use β leave the rest blank.
- Set Tracking Load Strategy to After Page Load (default) or First Interaction if you want scripts to wait for a click or scroll.
- To ask for consent, open GDPR Banner, turn Enable on, and customize the message and button labels.
- Publish the Customizer.
- Visit the site in a private window, accept or decline the banner, and confirm tags fire in your analytics debugger when expected.
Turn off Track Admin Sessions in production so your own browsing is not counted while logged in.
What happens automatically
- Dirigible outputs a small loader that queues vendor scripts instead of blocking HTML parsing.
- Scripts request after the chosen strategy (After Page Load or First Interaction); clicks and purchases still record once tracking is allowed.
- When the GDPR Banner is enabled, tracking stays off until the visitor accepts β the banner and analytics system work together.
- Logged-in administrators are excluded from tracking unless Track Admin Sessions is on.
- With Enhanced Ecommerce Tracking enabled and WooCommerce active, completed orders can send purchase events to Google Analytics or Tag Manager.
Things to know
- The GDPR banner is a consent gate for scripts Dirigible manages β it does not replace legal review for your region or industry.
- Declining cookies should mean no tracking scripts load; accepting loads them using the same delayed strategy you chose.
- Staging and local sites can disable all analytics via hosting configuration β ask your developer if tags should be off outside production.
- Ecommerce Debug Mode logs events to the browser console for testing; turn it off on live sites.
- Changing banner text or tracking IDs after a policy update may require visitors to choose again β your developer can reset consent version if needed.