Integrate with Third-Party Site Search

Integrate your third-party site search to report on prospect queries. Searches on your website show a prospect’s intent. A prospect searching your site for "pricing" is a more clear indicator of interest than just a pricing page view. Site search details vary by provider, so these instructions are general guidelines.

Required Editions

User Permissions Needed
To create a site search: Account Engagement Administrator or Marketing role
  1. Open the Site Search page.
    • In Account Engagement, select Marketing | Site Search.
    • In the Lightning app, select Content and then Search | Site Search.
  2. Click + Add Site Search.
  3. Name the search.
  4. Click Next.
  5. Set up a redirect URL. Use the instructions that match the URL for your search results page.

    If your URL looks like http://www.site.com?q=search_term.

    1. Enter the redirect URL for your search. Find the URL by searching the page source for “form action=”.
    2. Select a submit method. Find the method by searching your search form source for “method=”.
    3. Enter the search query variable. It’s between the “?” and first “=” in the search page result URL. In the example URL, the variable is “q”.

    If your URL looks like http://www.site.com/example/example/search_term/word/%3834&$/word.

    1. Enter the redirect URL for your search. Find the URL by searching the page source for “form action=”.
    2. Select a submit method. Find the method by searching your search form source for “method=”.
    3. Enter the search query variable. Find the variable by searching your search form source for “name=”.

    If your URL looks like http://www.site.com/example/words/search_term.

    1. Enter the redirect URL for your search. Find the URL by searching the page source for “form action=”. Append {query} to the URL.
    2. Select a submit method. Find the method by searching your search form source for “method=”.
    3. Enter the search query variable. Find the variable by searching your search form source for “name=”.
  6. Click Next.
  7. Review your selections, and click Next.
  8. Copy the post URL.
  9. Click Confirm & Save.
  10. Edit your search page code, and replace the site search form’s action URL with the post URL that you copied.

When a visitor searches your site, the query is passed to Account Engagement. Then, the visitor is sent to the redirect URL that you specified in setup.