Embed in 30 seconds
Copy this code where your listings should appear:
<div data-autocca-widget="YOUR-SLUG"></div>
<script src="https://autocca.com/embed.js" async></script>Replace YOUR-SLUG with your garage's identifier. You'll find it in the Autocca pro area, under Website, then Domain. Example: garage-dupont for the address garage-dupont.autocca.com.
Customisation
Add data-* attributes to the <div> tag to adjust the display:
| Attribute | Values | Effect |
|---|---|---|
data-limit | 1–24 | Number of listings shown (default: 6) |
data-sort | recent · price_asc · price_desc · km_asc | Listing order (default: recent) |
data-cols | 2 · 3 · 4 | Columns on large screens (default: 3) |
data-theme | light · dark | Theme (default: light) |
Example with customisation:
<div
data-autocca-widget="garage-dupont"
data-limit="9"
data-sort="price_asc"
data-cols="3"
data-theme="light">
</div>
<script src="https://autocca.com/embed.js" async></script>WordPress embedding
- 01Open the page or post where the listings should appear.
- 02Add a Custom HTML block.
- 03Paste the code above.
- 04Publish: the widget appears straight away.
The widget works with all recent WordPress themes, with no plugin.
AutoScout24 / La Centrale XML feed
For direct import into the main used car marketplaces (Leboncoin Pro, La Centrale, ParuVendu), an XML feed in AutoScout24 format is available at:
https://api.occalink.com/api/feeds/YOUR-SLUG/ads.xmlThe feed requires an API key, created in the pro area (Website, Domain, Regenerate API key). Give this key to the marketplace, which sends it in the HTTP header:
X-Occalink-API-Key: your-api-keyFrequently asked questions
Where does clicking a listing lead?
Each card opens the full listing on your garage's website (its Autocca address, or your own domain if one is set up), in a new tab. Browsing on your main website is not interrupted.
How much does the widget cost?
It is included in your Autocca subscription at no extra cost: no usage limit, no watermark, no advertising.
Do the listings update by themselves?
Yes. As soon as you publish or edit a listing in the app, the widget shows it within a minute (browser cache). Nothing to do on your website.