🇩🇰 Webshop · All integrations

Address autocomplete in DanDomain Webshop

One JS snippet in the checkout template gives DanDomain shops Danish address search backed by authoritative DAR addresses.

DanDomain lets you edit the checkout template directly in the admin. Paste the widget script, point it at the address field, and customers get suggestions from all 2.4 million Danish addresses as they type.

How to set it up

  1. Get an API key
    Free account on the dashboard → copy dawa_live_….
  2. Paste one line
    Webshop → Design → Ret design → Indsæt Javascript → Sidens indhold (bunden) → Save. Classic: at the bottom of the design template.
  3. No selector
    The script finds the address, postcode and city fields itself — including the delivery address and fields that appear later.
  4. Test with a typo
    Type “rodovre parkvej 150” — the widget should suggest Rødovre Parkvej with the correct postcode.
# Snippet in DanDomain's checkout template
<!-- Webshop → Design → Ret design → Indsæt Javascript
     → Sidens indhold (bunden). Finder selv adressefelterne. -->
<script src="https://api.danadresse.dk/js/danadresse-auto.min.js"
        data-key="dawa_live_…" defer></script>

Good to know

Webshop 5+ and classic

The snippet approach works in both — it's plain HTML/JS in the template.

No app-store wait

You're live as soon as the template is saved.

Typo-tolerant

“kobenhavn” → København, “aarhus” → Aarhus — Danish folding is built in.

Ready to try it with DanDomain?

Free Hobby key, no credit card — the API answers in under 100 ms.

Get an API key →

API docs · Code examples · JS widget