Rich-text Reply

Testing Search Algorithm

bobo 05-08-16

Testing Search Algorithm

We've read this blog post and tried testing different search algorithm in our web site:

https://blog.optimizely.com/2013/11/05/ab-testing-search-algorithm-insound/

 

In our variation, we wrote a line of code:

$("header").append("<meta name=\"opt_search\" content=\"b\"/>");

And when the server receive query from any page append with the variation meta tag, it will sent a different search result page according to the new search algorithm.

 

However the test did not receive appropriate data from our GA report, so the first question, is there any simpler and better recommendation to run a test for different search algorithm?

 

Second, how can we setup the URL targeting, since almost every page has the search box, should we also include the search result page URL?

Level 1

David_Orr 05-09-16
 

Re: Testing Search Algorithm

Hi bobo,

 

Your implementation seems to be the most simplest method since there's only 1 line of code. I'm not quite familiar with how GA tracks meta tags, another member on the community may be better suited to answer this question. Was the GA data you were looking being sent on GA or is GA not recognizing the meta tag?

 

Have you tried integrating Optimizely with GA? Here is a link to our kb article for more information on how to set this up: https://help.optimizely.com/Integrate_Other_Platforms/Integrating_Optimizely_with_Google_Universal_A...

 

Second, how can we setup the URL targeting, since almost every page has the search box, should we also include the search result page URL?

 
I would recommend using the URL targeting settings along with the different match types we offer to target any pages that contain the search box. Here is a link for more information on the different types of URL match types: https://help.optimizely.com/Target_Your_Visitors/URL_Targeting%3A_Choose_where_your_experiment_runs
 
David
 
Senior Technical Support Engineer
Optimizely