LogoLogo
Analytics HelperSirdata CMPA propos de Sirdata
English
English
  • Sirdata Server-Side
  • Installation
    • GTM Server Container
    • DNS Configuration
      • OVH
      • Netlify
      • Cloudflare
      • Gandi.net
    • Configuration GA4
    • Facebook Conversions API Setup
    • Data Processing
      • Hosting Only
      • GTM Helper Layer
  • Prices
    • Sirdata Server-Side
    • Configuration of GTM Server Side
  • GTM Server-Side Services
    • sGTM Set-up
  • F.A.Q SERVER SIDE
    • Pricing
      • Do you offer a free trial?
      • Do I need to enter a payment method for the free trial?
      • What payment methods do you accept?
      • What do you mean by “request”?
      • What is the cost per request?
      • Can I cancel my subscription?
    • Why use Server Side GTM
    • sGTM Portal
      • Access to the sGTM Portal from the Sirdata CMP Portal
      • Container Hosting
    • Tracking
      • Campaigns
      • Bypassing Adblockers
      • Hit Volume
    • Server-Side Operation
      • Tag Manager
      • Hosting
      • Google Tag Manager Access
      • DNS
      • GTM-Helper Without Hosting
      • Commitment
    • Performance
      • Script Loading
      • Optimization of CMP and GTM Loading
    • Google Analytics 4
      • GA4 Compatibility
      • Configuration GA4
      • GA4 Proxyfication
    • Facebook CAPI
      • Facebook Conversion API vs. Facebook Pixel
      • Facebook Conversions API Setup
      • Facebook CAPI Token Retrieval
    • Matomo
      • Matomo Compatibility
      • Matomo Token Retrieval
    • Linkedin
      • LinkedIn Compatibility
    • TikTok Events API
      • TikTok Compatibility
      • TikTok Token Retrieval
      • TikTok Events API
      • Outsourcing TikTok Events API Installation
    • Ad-blocking
      • Definition of Ad-Blocker
      • Ad-Blocker Operation
      • Bypass Ad-Blockers
Propulsé par GitBook
Sur cette page

Cet article vous a-t-il été utile ?

  1. F.A.Q SERVER SIDE
  2. Performance

Optimization of CMP and GTM Loading

Why Load the CMP and GTM in the Same Script?

Loading the CMP (Consent Management Platform) and GTM (Google Tag Manager) into a single script, as proposed by Sirdata, offers several advantages:

  • Preventing CMP Implementation Errors: Integrating both tools into a single script ensures that the consent rules defined by the CMP are properly respected and applied, reducing the risk of configuration errors.

  • Better Script Ordering: Combining the CMP, GTM, and Google Consent Mode V2 in one script ensures that scripts load and execute in the correct order, providing better management of user consent and tracking events.

  • Improved Web Performance: Loading the CMP and GTM in a single script optimizes page load time, reduces the number of requests, and improves the overall performance of your website.

This method provides an efficient solution to maximize compliance and performance while simplifying the implementation of consent and tracking tools.

PrécédentScript LoadingSuivantGoogle Analytics 4

Dernière mise à jour il y a 5 mois

Cet article vous a-t-il été utile ?