Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "frontend-packages/cookie-consent-web-client/src/apply/getManagerDependingVariables"

Index

Variables

Const LABEL_GTM

LABEL_GTM: "Google Tag Manager" = "Google Tag Manager"

Const LABEL_MTM

LABEL_MTM: "Matomo Tag Manager" = "Matomo Tag Manager"

Functions

getManagerDependingVariables

  • getManagerDependingVariables(setCookiesViaManager: ServiceTagManager, presetId?: string): { expectedManagerPresetId: "gtm" | "mtm"; getDataLayer: () => any[]; managerLabel: string; serviceIsManager: boolean }
  • Parameters

    Returns { expectedManagerPresetId: "gtm" | "mtm"; getDataLayer: () => any[]; managerLabel: string; serviceIsManager: boolean }

    • expectedManagerPresetId: "gtm" | "mtm"
    • getDataLayer: () => any[]
        • (): any[]
        • Returns any[]

    • managerLabel: string
    • serviceIsManager: boolean

Generated using TypeDoc