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

APEX-177: Events not tracked when a search result is accessed from Autocomplete #24

Merged
merged 1 commit into from
Apr 7, 2023

Conversation

ede-somogyi-algolia
Copy link
Contributor

Added objectID, queryID and indexName to the URL of the PDP that opens when an Autocomplete result is clicked. This fixes the “Product Add to cart” event not being sent when the user navigates to the PDP from an Autocomplete result. Prior to this the event was sent only when the user was coming from an InstantSearch result.

In addition to this, I also added a new event that is sent when the user clicks an Autocomplete result (“Clicked on autocomplete product”), this was also missing previously.

…licking a result from Autocomplete + set up a new event to be sent when an autocomplete result is clicked
@ede-somogyi-algolia ede-somogyi-algolia self-assigned this Apr 6, 2023
@ede-somogyi-algolia ede-somogyi-algolia changed the base branch from master to develop April 6, 2023 15:55
Copy link
Collaborator

@sbellone sbellone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good ✔️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants