Solved

Is there a way to track views in specific areas?

  • 6 October 2023
  • 2 replies
  • 128 views

Hello.

 

There is a product list page and a product detail page on my product.


There are several recommended product areas on the product detail page and

I want to track impressions when users scroll or view a specific area.

Are there any best practices for tracking that kind of log?

 

 

icon

Best answer by dangrainger 6 October 2023, 12:21

View original

2 replies

Userlevel 5
Badge +9

Hi @KIKO S. One option is that you can use an object array to push multiple impressions with an event. You can see this in action on our website (https://www.haven.com/search-results/holidays?parkCode=CG%2CMM&adults=2&children=2&tots=0&dogs=0&accessibleVans=false&arrivalDate=2023-10-20&duration=3) using a data layer debugger and the Amplitude Event Explorer Chrome extension. You’ll see I’ve got the first four result impressions passed in the “products” object array with the event firing as the results page loads, then subsequent batches of four impressions being pushed in a scroll event as these results hit the users viewport. Over in Amplitude the “products” array is then split into the component parts.

You can find info on Amplitude object arrays/ splitting here, they’re available on Growth/ Enterprise plans: https://help.amplitude.com/hc/en-us/articles/9623000954907-Cart-analysis-Use-object-arrays-to-drive-behavioral-insights.

Hope that helps!

 

hi, @dangrainger , I was looking for ways to track impressions in our website and your answer has helped me a lot. Thanks for that :) ! Could you give me further explanation regarding the website you have shared?
I have installed both Amplitude Event Explorer Chrome and data layer debugger and then visited the site yet couldn’t find any amplitude event being tracked.
 

Reply