Passing search terms via script

You can submit search terms by adding a script line to your page.

Which script can be used to transmit search terms?

By including the following script line, you can transmit any search term:

var wiredminds = wiredminds || [];
wiredminds.push(['setTrackParam','wm_internal_search','BEISPIELSUCHBEGRIFF']);

This script would lead to the following result in LeadLab:

Example Customized search via script

Where do I place the script on my website?

You can integrate the script into your page at any point. In most cases, this is included in the <Head> area. Naturally also within any events or functions. You can also replace the text example search term with a variable and “fill” it via Java Script as soon as a search is carried out on your page.

Here you will find a sample file for creating your own search phrases. Make sure that for a test Use your tracking account ID !