Is there ability to run a report on search terms a customer is using when visiting website?
I am trying to find out what keyword search terms a customer may be using when they visit our website. Does AEM have the ability to run such a report?
I am trying to find out what keyword search terms a customer may be using when they visit our website. Does AEM have the ability to run such a report?
To capture search keywords in AEM Adobe Analytics, you'll need to implement custom tracking using the s.eVar variable. Here's a step-by-step guide:
1. Identify the Search Component:
2. Create a Custom s.eVar:
3. Implement Tracking in AEM:
Modify the search component's JavaScript to capture the search query and pass it to the s.eVar.
Here's a basic example using Javascript:
function handleSearch() {
var searchQuery = document.getElementById("search-input").value;
// Set the s.eVar value
s.eVar1 = searchQuery;
// Trigger the Adobe Analytics tracking beacon
s.tl(true);
}
Replace document.getElementById("search-input").value with the actual selector for your search input field.
4. Verify Tracking:
Note: Response generated from AI .
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.