How to Add Your Finance Partner's Pre-Approval Widget to Vehicle Pages
If you already work with a finance partner that gives you an embed code for a "get pre-approved" widget, you can show it on every vehicle page of your website. Each car's widget is filled in with that car's VIN and price automatically. Showroom owners can set this up.
Before you start
- You need the embed code your finance partner gave you. It usually contains a
<script src="https://…">address and an empty element (such as<div id="…">) the widget draws itself into. - The script address must start with
https://.
Steps
Sign in at https://vyro.co/access.
Go to Settings, open Vehicle pages, and find the Layout card.
Click Edit on the Layout card, and find Finance partner widget.
In Script URL, paste the script address from your embed code. Replace the values that change from car to car with placeholders:
{vin}: the car's VIN{amount}: the car's price, in whole dollars{stock}: the car's stock number{code}: your dealer code (entered below)
For example, an address ending in
/d1234?vin=ABC123&amount=45000becomes/{code}?vin={vin}&amount={amount}.In Dealer code, enter your account code with the partner, if the address uses
{code}.In Widget element id, enter the id of the empty element from your embed code (for example, if it says
<div id="partner-root">, enterpartner-root).Optionally, change the Button label. It defaults to "Get pre-approved".
Check the blue preview: it shows the exact address a car page will load.
Click Save on the card.
Result
Each vehicle page shows a button beside the price. When a shopper clicks it, a panel opens with your partner's widget for that car. The widget only loads when a shopper opens it, so it doesn't slow your pages down. It isn't shown on sold cars.
To turn it off, click Edit on the Layout card, clear the Script URL and click Save.
