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

Creation of `Top traffic source driving leads` ACR KMW #9217

Open zutigrm opened 3 weeks ago

zutigrm commented 3 weeks ago

Feature Description

One of the identified metric tiles for the ACR epic is Top pages driving leads. Details of this metric tile are as follows:

Description: Total number of lead form submissions for top traffic source. We will extract only the top performing one and show it in the existing numeric tile template (like what we have for the existing “Top traffic source” KM tile). Tile should combine counts from both contact and submit_lead_form events, if present, otherwise, it will use the data for events that are present. Events: generate_lead submit_lead_form and contact Metrics: Total generate_lead submit_lead_form and contact events count, ordered by sessionDefaultChannelGroup dimension, returning the 1st item from results Dimension: sessionDefaultChannelGroup Order: Descending


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

eugene-manuilov commented 2 weeks ago

AC ✔️

eugene-manuilov commented 1 week ago

IB ✔️