Shop Etsy

Changes to Listings URL when coming from Search

Jan 19, 2011

by giokincade

Hi Friends,When a user performs a search on Etsy and clicks on a Listing, we pass along several parameters from the Search in the Listing URL. This enables sellers to track how people get to their listings using Google Analytics.

A typical search URL:http://www.etsy.com/search_results.php?search_query=dress&search_type=handmade

The resulting URL when you click on a Listing:http://www.etsy.com/listing/54700469/fairytale-dress-pdf-pattern-for-american?ref=sr_list_2&ga_search_query=dress&ga_search_type=handmade&ga_page=&order=&includes0=tags&includes1=title&filter0=handmade

In the process of cleaning up our old search code, we've decided to streamline how these URLs are generated as follows:- Only parameters that are explicitly set in the search will be passed along. So in the above example "ga_page", "order", "includes", and "filter" would be removed. The values for all of these parameters are either NULL, they're implied (e.g. filter[0] = handmade is implied by search_type=handmade), or they're a default (e.g. we search both tags and titles by default). – Parameters will no longer be renamed. So "ga_search_query" should be "search_query" and "ga_search_type" should be "search_type". – All parameters will be passed along, not just a select set.

In short, the parameters in the Listing URL should be identical to those in the Search URL. Here's what the same URL would look like in the new version:http://www.etsy.com/listing/54700469/fairytale-dress-pdf-pattern-for-american?ref=sr_list_2&search_query=dress&search_type=handmade

I will be releasing this to a percentage of traffic within the next hour, and ramping up to 100% as the day progresses. Let me know if you have any questions or concerns.

* * * * *

Hi Friends,When a user performs a search on Etsy and clicks on a Listing, we pass along several parameters from the Search in the Listing URL. This enables sellers to track how people get to their listings using Google Analytics.

A typical search URL:http://www.etsy.com/search_results.php?search_query=dress&search_type=handmade

The resulting URL when you click on a Listing:http://www.etsy.com/listing/54700469/fairytale-dress-pdf-pattern-for-american?ref=sr_list_2&ga_search_query=dress&ga_search_type=handmade&ga_page=&order=&includes0=tags&includes1=title&filter0=handmade

In the process of cleaning up our old search code, we've decided to streamline how these URLs are generated as follows:- Only parameters that are explicitly set in the search will be passed along. So in the above example "ga_page", "order", "includes", and "filter" would be removed. The values for all of these parameters are either NULL, they're implied (e.g. filter[0] = handmade is implied by search_type=handmade), or they're a default (e.g. we search both tags and titles by default). – ALL parameters will have a "ga_" prepended. Not just a select few.- ALL parameters will be passed along, not just a select few.

In short, the parameters in the Listing URL should be identical to those in the Search URL, except with a "ga_" prefix. Here's what the same URL would look like in the new version:http://www.etsy.com/listing/54700469/fairytale-dress-pdf-pattern-for-american?ref=sr_list_2&ga_search_query=dress&ga_search_type=handmade

I will be releasing this to a percentage of traffic within the next hour, and ramping up to 100% as the day progresses. Let me know if you have any questions or concerns.