Prompt
Do I need to block tags before consent on all sites?
Latest observation
Not necessarily on all sites—it depends on what you’re collecting, which laws apply, and how your site is configured.
In general
If a tag sets or reads non-essential cookies/trackers (analytics, advertising, remarketing, social embeds, etc.), you usually need to block it until the user consents in jurisdictions with consent requirements (for example, under the EU ePrivacy rules and often GDPR-related consent setups).
What typically can run before consent
Usually allowed without prior consent:
- Strictly necessary tags/cookies
- Security/fraud prevention
- Basic load balancing
- Session management needed for the service
- Language or cart functionality essential to the user experience
What usually should be blocked until consent
- Analytics/measurement
- Advertising and retargeting
- Personalization/profiling
- Social media pixels/widgets that track users
- Third-party marketing tags
Important caveat
Even if a tag is “just” analytics, in many regions it still needs consent before firing unless your legal basis and local rules clearly allow otherwise. Also, browser behavior, server-side tracking, and embedded content can create tracking before consent if not controlled.
Best practice
Use a consent management platform or tag manager to:
- Default to blocked
- Fire only essential tags
- Release other tags only after opt-in
- Document and test that tags aren’t sending requests before consent
If you want, I can give you a site-by-site checklist or explain how this works in Google Tag Manager, Meta Pixel, or GA4.