\DevOwl\RealCookieBanner\lite\presetsGoogleAnalytics4Preset

Google Analytics (Analytics 4) cookie preset.

Summary

Methods
Properties
Constants
common()
managerNone()
managerGtm()
managerMtm()
getPluginConstantPrefix()
No public properties found
IDENTIFIER
VERSION
POTENTIAL_SKIP_IF_ACTIVE_PLUGINS
BLOCKER_PRESET_IDS
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

IDENTIFIER

IDENTIFIER =\DevOwl\RealCookieBanner\presets\PresetIdentifierMap::GOOGLE_ANALYTICS_4

VERSION

VERSION =2

POTENTIAL_SKIP_IF_ACTIVE_PLUGINS

POTENTIAL_SKIP_IF_ACTIVE_PLUGINS =array(\DevOwl\RealCookieBanner\lite\presets\GAGoogleAnalyticsPreset::SLUG_FREE, \DevOwl\RealCookieBanner\lite\presets\WooCommerceGoogleAnalyticsPreset::SLUG_FREE, \DevOwl\RealCookieBanner\presets\pro\MonsterInsightsPreset::SLUG_FREE, \DevOwl\RealCookieBanner\presets\pro\AnalytifyPreset::SLUG_FREE, \DevOwl\RealCookieBanner\presets\pro\ExactMetricsPreset::SLUG_FREE, \DevOwl\RealCookieBanner\lite\presets\GAGoogleAnalyticsPreset::SLUG_PRO, \DevOwl\RealCookieBanner\lite\presets\PerfmattersGAPreset::SLUG, \DevOwl\RealCookieBanner\presets\pro\MonsterInsightsPreset::SLUG_PRO, \DevOwl\RealCookieBanner\presets\pro\AnalytifyPreset::SLUG_PRO, \DevOwl\RealCookieBanner\presets\pro\ExactMetricsPreset::SLUG_PRO_LEGACY, \DevOwl\RealCookieBanner\presets\pro\ExactMetricsPreset::SLUG_PRO)

BLOCKER_PRESET_IDS

BLOCKER_PRESET_IDS =array(self::IDENTIFIER, \DevOwl\RealCookieBanner\presets\PresetIdentifierMap::GA_GOOGLE_ANALYTICS_4, \DevOwl\RealCookieBanner\presets\PresetIdentifierMap::WOOCOMMERCE_GOOGLE_ANALYTICS_4, \DevOwl\RealCookieBanner\presets\PresetIdentifierMap::PERFMATTERS_GA4, \DevOwl\RealCookieBanner\presets\PresetIdentifierMap::ANALYTIFY_4, \DevOwl\RealCookieBanner\presets\PresetIdentifierMap::MONSTERINSIGHTS_4, \DevOwl\RealCookieBanner\presets\PresetIdentifierMap::EXACT_METRICS_4)

Methods

common()

common(): array

Common preset options.

Returns

array

managerNone()

managerNone(): array|boolean

Get all manager-relevant options for no manager.

Returns

array|boolean

managerGtm()

managerGtm(): array|boolean

Get all manager-relevant options for Google Tag Manager.

Returns

array|boolean

managerMtm()

managerMtm(): array|boolean

Get all manager-relevant options for Matomo Tag Manager.

Returns

array|boolean

getPluginConstantPrefix()

getPluginConstantPrefix(): string

Get the prefix of this plugin so composer packages can dynamically build other constant values on it.

Returns

string