Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Task]: Add GA4 tracking for click-through-rate from search results to the opportunity listing #1889

Closed
btabaska opened this issue Apr 30, 2024 · 0 comments · Fixed by #1996 or #2002
Closed
Assignees
Labels
project: grants.gov Grants.gov Modernization tickets

Comments

@btabaska
Copy link
Collaborator

Summary

Click-through-rate from search results to the opportunity listing: i believe this should come standard - user searches > clicks on the search result to the opportunity listing

Acceptance criteria

Click-through-rate from search results to the opportunity listing

@btabaska btabaska added the project: grants.gov Grants.gov Modernization tickets label Apr 30, 2024
@btabaska btabaska added this to the Search UI - Analytics milestone Apr 30, 2024
@btabaska btabaska self-assigned this Apr 30, 2024
btabaska added a commit that referenced this issue May 13, 2024
…A4 (#1996)

## Summary
Fixes #1889

### Time to review: __2 mins__

## Changes proposed
> Added a client useEffect that will fire GA4 page change whenever a
page is loaded

## Context for reviewers
> vercel/next.js#58924

## Additional information
> Screenshots, GIF demos, code examples or output to help show the
changes working as expected.
btabaska added a commit that referenced this issue May 13, 2024
## Summary
Fixes #1889

### Time to review: __5 mins__

## Changes proposed
> Added manual "search" api call for GA4 on search bar click
> Updated template to call GA4 correctly
> Updated @next/third-party to canary to fix issues

## Context for reviewers
> Context in Eng Slack Thread

## Additional information
> Screenshots, GIF demos, code examples or output to help show the
changes working as expected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project: grants.gov Grants.gov Modernization tickets
Projects
Status: In Progress
1 participant