<script src="https://portal.bensky.co.uk/w.php?id=1255&js=1"></script>Copy
Use javascript to collect the vehicle data once a selection has been made. This is handy if you want to pass the vehicle data to a contact form.
Paste the code below to the bottom of your website code before the closing </body> tag.
<script>
window.addEventListener("message", function(event){if(typeof event.data.dataType != undefined){if(event.data.dataType=="vehicle-data"){
var vname = event.data.vehicleName;
//vname variable will now contain the vehicle name - you can enter any code you want to trigger directly below.
}}});
</script>
Ben Sky Limited working in partnership with Tuning Database to bring you vehicle statistics.