Consent evidence should prove both what the user chose and what the interface allowed at that time. The EDPB consent guidance says controllers should be able to show the session in which consent was expressed, the consent workflow, and the information presented. For cookies, that means saving CMP configuration, banner text and screenshots, purpose and vendor versions, tag-firing tests, and consent or refusal events without collecting excessive additional data.
Analytics requires a separate check. WP29 treats analytics and market-research tracking as non-exempt when tied to social plug-ins or similar tracking purposes, and national approaches to audience-measurement exemptions are not uniform. If relying on an analytics exemption, keep it narrow, document the technical limits, and avoid turning an audience-measurement tool into advertising, cross-site tracking, user-level profiling, or persistent identifier sharing.