/
Automotive Websites

Automotive Websites

 

If you’re installing our widget for the first time, we reccomend that you read our Basic Installation Guide first. If you have any problems with the installation, please contact your account manager who will be happy to help.

To allow us to provide a engaging visitor experience, we ask that you send us information of the current vehicle being viewed. This allows us to respond to enquiries about the vehicle, such as MOT status and spec enquiries.

This can be done via the VC_SETTINGS property. Please see the below example for more information.

On pages without a specific car, such as the homepage, search results etc. you can omit the data property from the code.

Parameters:

Field Name

Type

Required

Description

Field Name

Type

Required

Description

capId

Integer

Preferred

The ID of the car from the Solera CAP database (http://www.cap-hpi.com )

vrn

String

Yes

The vehicle registration number

mileage

Integer

No

The number of miles the car has done

locationId

String

No

A unique identifier to identify the location of the vehicle if you have multiple dealerships

color

String

No

The color of the current vehicle being viewed

Example:

<script> var VC_SETTINGS = { data: { vehicle: { capId: 1234, // This is example data, please update to reflect the vehicle being used. vrn: 'XX19 XXX', mileage: 50000, locationId: 12, color: 'red' } }, }; </script> <script async type="text/javascript" src="https://cdn.visitor.chat/vc.min.js" id="vcLoaderScript"></script>

 

 

 

Related content

Copyright © 2024 Visitor Chat Ltd. Registered in England & Wales. Company No. 09804738