Skip to main content

Self Check Driver

About

The CaRool Self Check Driver provides a simple way to get a vehicle tyres wear diagnosis.

Iframe Integration

The CaRool Self Check Driver can be integrated through an iFrame by loading your version of the Tyre Scanner with this url: https://<your-company>.ca-rool.com/#/diagnosis

Prerequisites

To use our Self Check Driver you need to

  • Provide camera access to the iFrame thanks to this tag

<iframe allow=camera>
  • add the following meta tag for a correct rendering

<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
  • The Self Check Driver application will automatically adapt his size to the available space given by the iframe. Therefor our advice is to use dynamic sizing for the iframe like 'flex css' and avoid fixed sizing for better integration.

Pass data to Self Check Driver

Query Parameters

You can pass data to the Self Check Driver using query parameters. Warning all query parameters must be encoded to be properly used.

ParametersValueComments
licenseStringLicense with any of the validated country format
licenseCountryCodeStringISO 3166-1 - alpha 2 code (eg: fr) - Used to ensure license format is correct
embeddedBooleanSet this value to true to set the application as ‘embedded’ and disable various UI features
externalIdString - Max 100 charsAny 100 chars id that you might receive back at the end of the scanning process
mileageNumber - [0 - 1 000 000]Vehicle mileage
phoneStringUser phone with international format (eg: +33612345678)
emailStringUser valid email
postcodeNumberUser postcode, used for winter law specific checks

URL Path

The default URL to access your version of the Self Check Driver is has follows https://<your-company>.ca-rool.com/#/diagnosis

However you can add some option to this url:

ParametersValueCommentsExample
campaignStringIf you need to manage a campaign for a specific linkhttps://<your-company>.ca-rool.com/#/diagnosis/<campaign>
subcompanyStringIf you need to manage subcompany with dedicated configurationhttps://<your-company>.ca-rool.com/#/diagnosis/company/<subcompany>

Get data from Self Check Driver

To be notified about what is happening inside the Self Check Driver you can listen for events.


<script type="text/javascript">
window.addEventListener('message', (message) => {
if (message.data.type === 'onFinished') {
console.log('onFinished', message.data.data)
}
if (message.data.type === 'onError') {
console.log('onError', message.data.error)
}
if (message.data.type === 'onStarted') {
console.log('onError', message.data.data)
}
});
</script>

Structures

Messages Structures

{
type: string,
data: {
action: string,
data: object,
error: string
}
}
typeComments
onFinishedOccurs when an action finished
onErrorOccurs when an error happened
onStartedOccurs when an action is loaded
actionComments
analysisOccurs when something happens during the analysis process
landingOccurs when the landing view is opened. Extra data : {step: number}
licenseOccurs when the license view is opened
postcodeOccurs when the postcode view is opened
tutorialOccurs when the tutorial view is opened
photoshootOccurs when the photoshoot view is opened and at every photoshoot step changes. Extra data : {step: {position: number, type: 'WEAR' OR 'REFERENCE'}}
sendOccurs when the send view is opened
send_successOccurs when the user has sent his analysis with success
errorComments
Upload errorThe analysis couldn't be finished due to upload error

Customisation

Your version of the Self Check Driver can be fully customized to your need. Below you can find the list of options to communicate to the CaRool Team if you want another behavior than the default one.
If you need extra customisation which is not in the list below please contact us.

ConfigurationOptions
ThemingA primary and secondary colors can be used to fully customised the UI of your Self Check Driver
LogoYour logo (svg) and favicon (ico, png) can be used
FontCustomized font ( normal and bold )
Email IdentificationAsk for users email as a way to get his diagnosis
Phone IdentificationAsk for users phone as a way to get his diagnosis
Phone CountriesThe list of supported phone countries
LanguagesSupported languages
BannerMarketing content (svg) displayed when the user open the app
Winter LawShow in the report whether or not tyres are compabible with winter law (All 3PMSF)
License CountriesThe list of authorized license countries
Not supported ImageCustom Not Supported image for the 'browser not supported' page

Understand the PDF report

All information displayed in the customer report are explained below. If you have any additional question, please contact us.

ReasonLabel
Tyre > 6mmVery good tread depth
Tyre > 4mmGood tread height
Tyre > 3mmTread low, replacement to be planned
Tyre < 3mmWorn tyre, limited tread height, risk of aquaplaning
Tyre at 1.6mm and belowWorn tyre - Wear indicator reached
Cut detectedPresence of a cut in the sidewall
Hernia detectedPresence of a hernia in the sidewall
Object detectedPresence of an object on the tread
Cut detectedPresence of cracks in the rubber
Tyre age >= 10 yearsTyre age over 10 years, ageing of the rubber
Difference on the axelBrands / Seasons / Dimensions / Patterns different on the axle
Recommendation if tyre is new and without issueNext check 6 months or 6,000 miles (or kms elsewhere)
Recommendation if tyre is in good condition and without issueNext check 6 months or 3,000 miles (or kms elsewhere)
Recommendation if tyre is almost worn and without issueNext check 6months or 3,000 miles at the latest (or kms elsewhere)
Recommendation if tyre is worn and without issueChange recommended
Recommendation if tyre has an issue that require changeChange recommended
Recommendation if tyre has an issue that require controlTo be checked by a specialist