Adobe Site Catalyst- Set event on Search Results page

andre_molnar
Silver Contributor
Silver Contributor andre_molnar
In the Adobe Site Catalyst mapping how do I configure an event based on the search results data value event6= keyword search successful event7=keyword not found If search_results =>1 then increment event 6 If search_results=0 then increment event 7 Can I do something like this in the mapping?
4 REPLIES 4
Highlighted

Adobe Site Catalyst- Set event on Search Results page

son_hoang
Employee Emeritus
son_hoang
Hi Andre, Indirectly. You could have a couple of set data value extensions where you create a new var, with a first set data value extension where 'search_status' is set to text 'not_found'. Then create a second extension with a condition of 'search results IS defined' AND 'search results DOES NOT EQUAL 0', and if all true, 'search_status' is set to text 'successful'. From there you should be able to key off of the value of 'search_status' to trigger your event incrementing.

Adobe Site Catalyst- Set event on Search Results page

andre_molnar
Silver Contributor
Silver Contributor andre_molnar
Hi Son, It set-up this extensions however the "int_keyowrd_successful" is an adobe event not a evars or prop. So I want a counter to increment by 1 on the true statement. Will this work? I created a data value extensions where: set: int_keyword_successful(js) to text:1 when search_results(udo) is greater than or equal to "1" and search_results(udo) is defined

Adobe Site Catalyst- Set event on Search Results page

andre_molnar
Silver Contributor
Silver Contributor andre_molnar
Then- I would map int_keyword_successful(js) to my Adobe event 6. So, if it equal one the counter would increment. Conceptually it sounds like it would work. However, I would normalled map my event in an event_type variabel where a page_name like search_results successful

Adobe Site Catalyst- Set event on Search Results page

son_hoang
Employee Emeritus
son_hoang
The scenario I described should work for events, if you have this configured and it isn't working with your testing, please contact your account manager so we can review your exact configuration.