google / site-kit-wp

Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make them successful on the web.
https://sitekit.withgoogle.com
Apache License 2.0
1.23k stars 279 forks source link

Extract the audience utility logic from `Analytics_4` to a new class. #9229

Open techanvil opened 3 weeks ago

techanvil commented 3 weeks ago

Feature Description

There is a significant chunk of audience related code that is a prime candidate to lift out of the ever-growing Analytics_4 class into its own class.

We should extract the majority of the linked block of code to a new class called Analytics_4/Audiences which can be used within the Analytics_4 class.


Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

Implementation Brief

Test Coverage

QA Brief

Changelog entry