Home » Knowledge Base » FAQ » Marketing
Can I tie in third party site search tools?
You can continue to use third party site search tools such as the Google search appliance or hosted search product and still capture the search queries in Prospect Insight. Simply create a test site search in Prospect Insight to reveal the URL to which your third party search solution should post. Since Prospect Insight will not be serving up your search results, you will be able to skip over most of the typical site search creation steps.
- Click on Marketing.
- Click on Site Search.
- Click Create new site search.
- Choose a Name for the site search that will only be used internally (such as "General Website Site Search").
- Leave the Title blank, as it is only used when Prospect Insight serves up search results (as opposed to your third party solution).
- Choose a Campaign with which to associate search activity. Typically this will be a General campaign.
- Enter your Sitemap URL, which should be HTML or XML.
- Set any Max Index Size.
- Set any Index Interval.
- Choose any Layout Template.
- Leave Remove Title Content blank.
- Leave No Results Content blank.
- Click Create site search.
- Do a test search in Prospect Insight and capture the resulting URL from your browser. This URL should begin with http://pi.pardot.com/s/ and end with ?q= and the search term you just entered.
- Create a script that dynamically substitutes the search term into an iframe URL.
- Include that new URL as a hidden iframe in the search results template from the search provider.
Example
If a prospect searches for price, the hidden iframe on your search results page would look something like the following:
<iframe src="http://pi.pardot.com/s/25/92b5efb92fc132a37738602064d24b246?q=price" width="1" height="1"></iframe>
The first part of the URL comes from the test search you did within Prospect Insight and the keyword is dynamically inserted into it with javascript.
<iframe src="http://pi.pardot.com/s/25/92b5efb92fc132a37738602064d24b246?q=price" width="1" height="1"></iframe>
The first part of the URL comes from the test search you did within Prospect Insight and the keyword is dynamically inserted into it with javascript.