Skip to content

Conversation

@GerardPaligot
Copy link
Contributor

@GerardPaligot GerardPaligot commented Dec 10, 2025

Task/Issue URL: https://app.asana.com/1/137249556945/project/1212015278241917/task/1212373029583380?focus=true

Description

We want to remove index parameter in the existing pixels  m_autocomplete_click_phrase and m_autocomplete_click_website

Revert commit 4fdeb94 that introduce this specific parameter.

Steps to test this PR

  • Open the app, focus on the omnibar and type in a query.
  • Verify that clicking on a search suggestion sends an m_autocomplete_click_phrase pixel without search_suggestion_index parameter.
  • Verify that clicking on a website search suggestion sends an m_autocomplete_click_website pixel without search_suggestion_index parameter.

Note

Removes the search_suggestion_index parameter from autocomplete click phrase/website pixels and deletes related code/tests.

  • Analytics/Telemetry:
    • Remove search_suggestion_index from fireAutocompletePixel for AUTOCOMPLETE_SEARCH_PHRASE_SELECTION and AUTOCOMPLETE_SEARCH_WEBSITE_SELECTION.
    • Delete AutocompletePixelParams and all usages.
    • Use immutable mapOf for pixel params.
  • Tests:
    • Remove tests asserting search_suggestion_index presence and index calculations in autocomplete search suggestion clicks.

Written by Cursor Bugbot for commit 33c00d8. This will update automatically on new commits. Configure here.

Copy link
Contributor

@anikiki anikiki 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 and works as expected! 🎉

@GerardPaligot GerardPaligot merged commit b5994bc into develop Dec 11, 2025
14 checks passed
@GerardPaligot GerardPaligot deleted the feature/gerard/remove-pixel-autocomplete branch December 11, 2025 13:29
cursor bot pushed a commit that referenced this pull request Dec 19, 2025
…7331)

Task/Issue URL:
https://app.asana.com/1/137249556945/project/1212015278241917/task/1212373029583380?focus=true

### Description

We want to remove index parameter in the existing pixels
 `m_autocomplete_click_phrase` and `m_autocomplete_click_website`

Revert commit 4fdeb94 that introduce
this specific parameter.

### Steps to test this PR

- [x] Open the app, focus on the omnibar and type in a query.
- [x] Verify that clicking on a search suggestion sends an
`m_autocomplete_click_phrase` pixel without `search_suggestion_index`
parameter.
- [x] Verify that clicking on a website search suggestion sends an
`m_autocomplete_click_website` pixel without `search_suggestion_index`
parameter.
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