SOLVED

How to capture on-site search queries?

Go to solution
Anonymous
Not applicable

How to capture on-site search queries?

We capture user's search queries on our site by utilizing the parameters in the URL after a search is performed. How can we capture the search queries in Marketo? For example, if the URL is www.mysite.com/Search?fulltext=awesome%20product, how can we capture "awesome product"? This will help us provide context when a lead is sent to sales. Thanks for your help.
Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: How to capture on-site search queries?

Like any URL param, this can be captured into a hidden form field. You can then automatically submit the form (the user doesn't need to know this happened!).

View solution in original post

2 REPLIES 2
SanfordWhiteman
Level 10 - Community Moderator

Re: How to capture on-site search queries?

Like any URL param, this can be captured into a hidden form field. You can then automatically submit the form (the user doesn't need to know this happened!).
Josh_Hill13
Level 10 - Champion Alumni

Re: How to capture on-site search queries?

you may want to set an improved cookie so this search field is tracked more across pages.
But you could tie your search box to the user's cookie and marketo ID as well when they submit the search form, as Sanford suggests.