Expand my Community achievements bar.

Help shape the future of AI assistance by participating in this quick card sorting activity. Your input will help create a more effective system that better serves your needs and those of your colleagues.
SOLVED

Internal Search Results Clicks - Data Layer - Adobe Launch

Avatar

Level 3

Anyone can help me to get some sample data layer implementation for the number of search results found for a search term and specific result link clicked by the users.

 

 

1 Accepted Solution

Avatar

Correct answer by
Level 2

It will be difficult to provide the exact implementation details because it depends on how the internal search function has been built into your site.

But basically, when the search results are shown, you should then update your data layer with the search term and number of search results. Those should be populated by your internal search function somehow. After your data layer has been updated with them, then you can track as desired to your analytics tool.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 2

It will be difficult to provide the exact implementation details because it depends on how the internal search function has been built into your site.

But basically, when the search results are shown, you should then update your data layer with the search term and number of search results. Those should be populated by your internal search function somehow. After your data layer has been updated with them, then you can track as desired to your analytics tool.

Avatar

Level 3
we have implemented moreover same. Thanks mate.