Skip to content

Why migrate to the latest version?

The earlier version of Usercentrics Web CMP was created with the Browser SDK and minimal package size in mind. While the SDK proved to be a good idea, the package size of both UI & SDK increased over time.

This creates performance issues and makes it difficult to achieve good Core Web Vitals / Lighthouse results.

The latest version addresses and solves those problems. We particularly focused on improving the performance of the CMP on the web, and bringing features that would make the user experience even better while keeping the ones already known by our clients (E.g.: Cross-Domain Consent Sharing, Preview & Publish and Geotargeting).

How are the improvements achieved?

The latest version brings great improvements in all business-critical areas. The smaller fingerprint of the latest version results in better Lighthouse scores and Core Web Vitals.

The newest script of Usercentrics has increased the performance of our CMP significantly, reaching a Core Web Vitals score of up to 100, on average ranging between 93-100 when other website elements impact metrics such as Largest Contentful Paint (LCP) and Cumulative Layout Score (CLS).

Earlier version

All business logic reside within the Browser SDK.

The information is spread across multiple files, representing multiple domains of business logic (core, DPS, settings, translation, TCF vendors list, etc.).

Latest version

Critical parts of the above-mentioned business logic have been moved to a backend API, which produces tailored responses for all of our customers.

This API returns many of the actual properties that were previously calculated on the SDK, in one cacheable JSON response.

Performance Metrics

The latest version shows great improvements in all business-critical areas: the latest version reduces the kB transferred in the client by ~70% and the amount of network requests performed by ~60%. The smaller fingerprint of this CMP, results in better Lighthouse scores & Core Web Vitals.

core_web_vitals

core_web_vitals

For more details please refer to our Knowledge Hub