@polargold/pg-frontend-core
    Preparing search index...

    Function injectGtmScript

    • Injects Google Tag Manager's bootstrap script (plus its <noscript> fallback iframe) into the page.

      Generalizes data-sheet-portal's useGTM - which read gtmId/gtmUrl directly from two hardcoded import.meta.env var names - into explicit options, so the caller decides where its own config comes from.

      Parameters

      Returns void