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

Google Analytic Search interaction issue #2262

Open
victors1682 opened this issue Mar 21, 2024 · 0 comments
Open

Google Analytic Search interaction issue #2262

victors1682 opened this issue Mar 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@victors1682
Copy link
Contributor

Describe the bug
There appears to be inconsistency in the search events when customers attempt to find a product. Below is the user journey outlining this issue discovered by the analytic department:

Search -> enter a search text -> populate the list of items -> click on a single item -> move to PDP

The events generated by the UI do not represent this journey.

This is the event received from the previous flow

  1. starting typing:

{"name":"intelligent_search_query","params":{"locale":"en-US","term":"adi","url":"http://localhost:3000/","logicalOperator":"or","isTermMisspelled":true,"totalCount":0}}

  1. search result event 3 elements:

{"name":"intelligent_search_query","params":{"locale":"en-US","term":"adida","url":"http://localhost:3000/","logicalOperator":"and","isTermMisspelled":false,"totalCount":3}}

  1. Click on Item

a. ✅
{"name":"select_item","params":{"items":[{"item_id":"19","item_name":"ADIDAS HALFSHELLS NEW YORK","item_brand":"Test Brand name","item_variant":"7","index":0,"price":49.99,"discount":0,"currency":"USD","item_variant_name":"ADIDAS HALFSHELLS NEW YORK","product_reference_id":"MKLC_SKU_1695388120746"}]}}

The following events are also being sent after along the item selected

b. ❌
{"name":"search_select_item","params":{"url":"http://localhost:3000/","items":[{"item_id":"19","item_variant":"7","index":0}]}}

c.❌
{"name":"search","params":{"search_term":"ADIDAS HALFSHELLS NEW YORK"}}

d.❌
{"name":"intelligent_search_query","params":{"locale":"en-US","term":"ADIDAS HALFSHELLS NEW YORK","url":"http://localhost:3000/","logicalOperator":"and","isTermMisspelled":false,"totalCount":1}}

Additionally, when the user lands on PDP there's no event view_item fired

Representation of the events:

Screenshot 2024-03-21 at 3 06 05 PM
@victors1682 victors1682 added the bug Something isn't working label Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant