devowl-wp
    Preparing search index...
    • Opt-in to a set of services.

      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<
          {
              dataLayer: any[];
              isManagerOptOut: boolean;
              ready: Promise<void[]>;
              services: {
                  group: ServiceGroup;
                  service: Pick<
                      IServiceTemplateClientResponse,
                      | "legalBasis"
                      | "isEmbeddingOnlyExternalResources"
                      | "executePriority"
                      | "codeOptIn"
                      | "codeOptOut"
                      | "codeOnPageLoad"
                      | "executeCodeOptInWhenNoTagManagerConsentIsGiven"
                      | "executeCodeOptOutWhenNoTagManagerConsentIsGiven"
                      | "deleteTechnicalDefinitionsAfterOptOut"
                      | "googleConsentModeConsentTypes"
                      | "tagManagerOptInEventName"
                      | "tagManagerOptOutEventName",
                  > & {
                      codeDynamics: Record<string, string>;
                      id: number;
                      presetId?: string;
                      technicalDefinitions: ServiceTechnicalDefinition[];
                      uniqueName: string;
                  } & object;
              }[];
          },
      >