MARCO Connect · SDK v2.10.2
Developer reference.
Code, SDK options and events. Merchants never need this.
Install
HTML
<div id="marco-connect"></div>
<script src="https://marco.melega.ai/widgets/marco-connect.v2.10.js" defer></script>
<script>
window.addEventListener("load", function () {
var marco = window.MarcoConnect.mount("#marco-connect", {
application: "Your App",
theme: "dark",
size: "standard"
});
marco.on("passportResolved", function (e) {
console.log("passport", e.passport.passportNumber);
});
});
</script>Appearance
Themes
dark— Blacklight— Whitesilver— Silverblue— Blueorange— Orangeforest— Forestpurple— Purplegold— Gold
Sizes
compact— Compactstandard— Standardfull— Full widthnavbar— Navbarfloating— Floatingicon— Icon
Installation flow
- 01Create application
Name and website.
- 02Copy widget
One block, generated for you.
- 03Paste on your page
Where visitors sign in.
- 04Done
Your visitors arrive recognised.
InstallMerchant setupChoose platformGenerate installationCopyDone
Verified continuously
Every badge reflects a live check of the MARCO runtime. Nothing here is decorative.
Last verification Never · Reports published by Melega Space.