Expand my Community achievements bar.

SOLVED

internal search query string implementation under adobe launch

Avatar

Level 3

Currently, we are having the search URL like this http://example.com/simple.htm#!&query=keyword

 

Setting the query string parameter as "&query" in launch. Search term is not capturing. Is there any alternative? am i missing out something?

1 Accepted Solution

Avatar

Correct answer by
Level 1

Hi,

 

General structure of the query string is 

http://example.com/simple.html?query=keyword&cid=example

 

Where using "?" the query parameter is separated from rest of the url and to pass two or more query parameter, they are separated by "&".   In above case the query parameters would be "query" and "cid". 

 

Thanks

 

 

 

View solution in original post

8 Replies

Avatar

Correct answer by
Level 1

Hi,

 

General structure of the query string is 

http://example.com/simple.html?query=keyword&cid=example

 

Where using "?" the query parameter is separated from rest of the url and to pass two or more query parameter, they are separated by "&".   In above case the query parameters would be "query" and "cid". 

 

Thanks

 

 

 

Avatar

Level 3
yes... I aware that.. but our site structure URL is different .. its a call back URL from AJAX

Avatar

Level 8
@prathap08 - If this is still an issue, feel free to tag me and I'll offer up some guidance. The problem, as you know, is that it's a non-standard URL. You'll need custom code to extract the key/value.

Avatar

Employee Advisor

Adding to the comments by @Beenit_Chat. if it is not possible to change the query string structure, you may want to use custom code (in Data Elements) to fetch the values.

Avatar

Level 3
yes... going with custom code only... trying mutiple codes not able to get that exactly .. do you have any idea around that?

Avatar

Level 6

Hi @prathap08 ,

Since your search query parameter is not in the standard format. So, I will suggest you to create a Data Element & use custom logic in this Data Element. Once the Data Element is set up, you can use that data element in your Launch rules.

Hope this helps.

 

Regards,

Abhinav

Avatar

Level 10
Do any of the answers below answer your initial question? If so, can you select one of them as the correct answer? If none of the answers already provided answer your question, can you provide additional information to better help the community solve your question?