Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Coffee Break: Join us on Wednesday, April 5th at 10am PT to chat with Ben Gaines, Director of Product Management for Adobe Analytics. Ben will be online to answer your Analytics and Adobe Summit questions.

Will \'search\' event increment when search result page is not loading or with infinite loops?


Level 1

Will 'search' event increment when search result page is not loading or with infinite loops?


We want to know if 'search' count increases when a user performed a search but the search result page is not loading or with infinite loop?


We also want to know how to track the search result page load time and detect the occurrence when search result page is not loading properly - not load at all, spinning wheel, infinite refresh/ loop, etc. 


Thank you!




2 Replies


Community Advisor

@valtsai - Assuming your "search" event fires on load of the results page, and the page loads enough to fire the call to Adobe, then you will see all metrics and dimensions collect and increment in reports. If the page is reloading before the call to Adobe can fire, then you will not see the data collected. You can test this by checking in your preferred debugger or the network tab of your browser's dev tools.


Regarding tracking page load time, I'll point you to the getPageLoadTime() plugin: 


To track the page load issues/scenarios you mentioned, you'll won't be able to use Analytics. You'll have to find a different service to monitor for issues. For example, if the page doesn't load at all, your Analytics script will not run and no call to Adobe can be made.


Employee Advisor

If the page does load and fires the event every time on reload, the event will be recorded in Analytics. Recommendation will be to check the code and add fail safe method in the code so that the page does not fall in reload loop. A workaround would be to serialize the event so that Analytics report the event only once.

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now