devowl-wp
    Preparing search index...
    • Apply services on frontend. Depending on some other mechanism you can differ between the following "decision" types:

      • all: All services are applied (e. g. bots)
      • consent: All services from the current consent (read from cookie)

      The services are sent in the following way:

      1. Apply opt-in scripts (sequentially)
      2. If GTM / MTM is active, wait for the data layer a) Push all opt-in events (parallel) b) Wait x seconds to avoid side effects c) Push all opt-out events (parallel)
      3. Apply opt-in scripts (sequentially)

      Parameters

      • options: { type: "all" | "essentials" | "consent" } & Pick<
            CookieConsentManagerOptions,
            "isGcm"
            | "setCookiesViaManager"
            | "groups"
            | "decisionCookieName",
        > & ApplyOptInOptions
        • type: "all" | "essentials" | "consent"

          If consent it will be read from the current cookie and if this fails, it falls back to essentials.

      Returns Promise<void>