World map with travel destinations and visa requirements visualization
Developer Tools

Visa Checker Widget

Add a free visa requirements checker to your travel website. Help your visitors check visa requirements instantly.

Quick Integration

Copy-paste code. No API keys, no complex setup. Works on any website.

200+ Countries

Comprehensive visa data for passport holders worldwide.

Fully Responsive

Works on desktop, tablet, and mobile. Auto-adjusts height.

Earn Commission

Earn when visitors apply for visas through your widget.

Quick Start

Choose your platform and copy the code:

<!-- Visa Checker Widget by DoVisa -->
<div id="dovisa-visa-checker"></div>
<script src="https://dovisa.com/assets/widgets/visa-checker.js"></script>
<script>
  DoVisaVisaChecker.init({
    container: '#dovisa-visa-checker'
  });
</script>

Live Preview

This is exactly what will appear on your website:

Default light theme with DoVisa brand color

Configuration Options

Customize the widget to match your needs:

OptionTypeDefaultDescription
containerstring | ElementrequiredCSS selector or DOM element for the container
themestring"light""light" or "dark" color scheme
primaryColorstring"00D4AA"Brand color in hex (without #)
maxWidthstring"500px"Maximum width (e.g., "600px", "100%", "none")
refstring""Your DoVisa affiliate code (5 alphanumeric chars)
defaultFromstring""Preset passport country (ISO 2-letter code, e.g., "US")
defaultTostring""Preset destination country (ISO 2-letter code, e.g., "TH")
onReadyfunctionnullCallback when widget is fully loaded
onResultfunctionnullCallback when visa check completes with result data
onErrorfunctionnullCallback when an error occurs

Advanced Usage

1 Preset Countries

Pre-fill the form for country-specific pages (e.g., "Germany to Thailand" visa guide):

// Perfect for country-specific visa guides
DoVisaVisaChecker.init({
  container: '#visa-checker',
  defaultFrom: 'DE',  // Pre-select Germany as passport country
  defaultTo: 'TH',    // Pre-select Thailand as destination
  theme: 'light'
});

2 With Callbacks

DoVisaVisaChecker.init({
  container: '#visa-checker',
  onReady: function() {
    console.log('Widget loaded!');
    // Hide your custom loading spinner
  },
  onResult: function(data) {
    console.log('Visa check complete:', data);
    // data.hasVisa: boolean - user already has a valid visa
    // data.visaFree: boolean - no visa required
    // data.products: number - available visa products
  },
  onError: function(message) {
    console.error('Widget error:', message);
    // Handle errors gracefully
  }
});

3 Data Attributes (No JavaScript Required)

<!-- Auto-initializes without any JavaScript -->
<div data-dovisa-widget="visa-checker"
     data-theme="light"
     data-color="00D4AA"
     data-from="US"
     data-to="JP"
     data-max-width="500px">
</div>
<script src="https://dovisa.com/assets/widgets/visa-checker.js"></script>

4 Earn with Affiliate Tracking

Add your affiliate code using the ref parameter to earn commission when visitors apply for visas:

  1. Users check visa requirements on your site
  2. When they click "Apply with DoVisa", your ref code is passed
  3. An attribution cookie is set on their browser (90-day duration)
  4. If they purchase a visa service, you earn commission
DoVisaVisaChecker.init({
  container: '#visa-checker',
  ref: 'abc12'  // Your 5-character affiliate code
});

Don't have an affiliate code? Join our affiliate program to get started.

Frequently Asked Questions

Is the widget free to use?

Yes, the widget is completely free. We just ask that you keep the "Powered by DoVisa" attribution link visible. Contact us for white-label enterprise options.

How accurate is the visa data?

We maintain an up-to-date database of visa requirements for 200+ countries. Data is regularly verified against official government sources.

Can I pre-fill the countries?

Yes! Use the defaultFrom and defaultTo options to pre-select passport and destination countries. Great for country-specific pages.

Does it work on WordPress?

Yes! Add the code snippet to any WordPress page using a Custom HTML block, or use your theme's code injection feature.

Can I remove the DoVisa branding?

The attribution link is required for free usage. For white-label solutions without branding, please contact us about enterprise pricing.

Does it work on mobile devices?

Yes, the widget is fully responsive and works on all devices including smartphones and tablets.

How does the affiliate program work?

Add your affiliate code using the ref parameter. When visitors click through and purchase a visa service, you earn commission. Join our affiliate program to get started.

What happens when users click "Apply with DoVisa"?

Users are directed to our website with your affiliate code. If they complete a visa purchase, you earn commission (90-day cookie duration).

Platform-Specific Guides

How to add the widget on popular platforms:

WordPress

  1. Edit your page/post in WordPress
  2. Add a "Custom HTML" block
  3. Paste the widget code
  4. Save and preview

Wix

  1. Open Wix Editor
  2. Add "Embed Code" element
  3. Choose "Embed a widget"
  4. Paste the code and apply

Squarespace

  1. Edit your page
  2. Add a "Code" block
  3. Set display to "HTML"
  4. Paste code and save

Any HTML Website

  1. Open your HTML file
  2. Find where you want the widget
  3. Paste the code directly
  4. Upload and test

Need Help?

Our team is here to help you integrate the widget. Contact us for technical support or enterprise solutions.

Try Full Version