Developer Guide

Implementation

Implementing the Entriva Widget into your web application is simple. In the following steps, we describe how to install the Entriva Widget.

Step 1

To begin, include this <script> tag into the head of your HTML file.

<script type="application/javascript" src="https://www.entriva.com/public/get-visa-options/v1/main.js"></script>

Step 2

Include this small piece of code just before the closing </body> tag.

This step of the implementation process ensures proper attribution back to your partner account, where each of our partners are assigned a unique partnerId and accountCode.

<script type="module"> window.entrivaInit({ partnerId: '[PARTNER_ID]', accountCode: '[ACCOUNT_CODE]' }); </script>

Step 3

And finally to make the Entriva Widget visible, place the following div element where you want the widget to sit within your user experience.

<div id="entriva-gvo"></div>


Now, you should be able to see the Entriva Widget on your page.