How to add a VRN/size lookup combination search to your existing website

In this article, we'll go over how you can add a multi-option search that allows a user to find tyres on your Tyres and Service website using either their vehicle registration number or tyre size.

The lookup

To add this great feature to your existing website all you need to do is ask your web developer to add the following code snippet to your website.

<script> var tsControl = { site: "" }; </script>

<script src=""></script>

Make sure you change the website address in red to your own Tyres and Service website's address otherwise you will be sending your customers to the wrong website!

Multiple Fitting Centres

If you manage multiple fitting centres, we provide a seperate script that allows you to represent them all on a single lookup using a dropdown menu.

Tyre Multi-Search

The snippet for this lookup is slightly different to the one above, as you need to provide details for each of the fitting centres your are representing.

var tsControl = {
    sites: [
        { "website" : "", "name" : "My Town Tyres" },
        { "website" : "", "name" : "Halifax Tyres" }
    colour: "#000"
<script src=""></script>

For each fitting centre, you need to supply 2 pieces of information:

  • The URL address of the website (shown in red above). This is the URL of the fitting centre you are currently adding. Please note you do not need to include the 'http://' that is sometimes added if the URL is copied and pasted from a browser address bar.
  • A name for the fitting centre (shown in blue above). This is the name that appears when a user opens the drop-down box to select a fitting centre.

You can also change the colour of the circular numbers by changing the colour shown in green above. This value can be either a colour word (red, blue, green etc) or HEX value (your developer should be familiar with this).

Once you've added the code above, you should now be able to submit either your VRN or tyre size to a particular fitting centre, based on the option you've chosen from the drop-down.

Back to Knowledge Base

Back to Knowledge Base

Latest Article

Add a multi-option search to your existing website to allow visitors to find tyres by VRN or tyre size.

View Article