Aggiunge cookie policy, banner consenso e Google Analytics opzionale.

Il banner consente solo necessari o tutti i cookie; GA4 si carica solo dopo
consenso. Aggiornati privacy, footer, sitemap e variabile GOOGLE_ANALYTICS_MEASUREMENT_ID.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-03 08:00:30 +02:00
parent 1f273f849d
commit 565bc2c548
21 changed files with 426 additions and 7 deletions

View File

@@ -140,5 +140,13 @@ module MatchLiveTv
def replay_download_url_ttl_seconds
ENV.fetch("REPLAY_DOWNLOAD_URL_TTL_SECONDS", "900").to_i
end
def google_analytics_measurement_id
ENV["GOOGLE_ANALYTICS_MEASUREMENT_ID"].presence
end
def google_analytics_configured?
google_analytics_measurement_id.present?
end
end
end