@ConditionalOnMissingBean(name = "casGoogleAnalyticsCookieGenerator")
    @Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public CasCookieBuilder casGoogleAnalyticsCookieGenerator(
        @Qualifier(TenantExtractor.BEAN_NAME)
        final TenantExtractor tenantExtractor,
        final CasConfigurationProperties casProperties) {
        val props = casProperties.getGoogleAnalytics().getCookie();
        return new CookieRetrievingCookieGenerator(
            CookieUtils.buildCookieGenerationContext(props),
            new NoOpCookieValueManager(tenantExtractor));
    }
This is {@link CasGoogleAnalyticsAutoConfiguration}.

@author Misagh Moayyed
@since 6.1.0
support/cas-server-support-google-analytics/src/main/java/org/apereo/cas/config/CasGoogleAnalyticsAutoConfiguration.java