generated from mintlify/starter
-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathnavattic.js
More file actions
22 lines (21 loc) · 719 Bytes
/
navattic.js
File metadata and controls
22 lines (21 loc) · 719 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Navattic Demo Embed Loader
// Dynamically loads the Navattic embed script and initializes the popup
(function() {
var script = document.createElement('script');
script.src = 'https://js.navattic.com/embeds.js';
script.async = true;
script.onload = function() {
if (window.NavatticEmbed) {
NavatticEmbed.initPopup("https://capture.navattic.com/cmklfh1m1000404laackz1wzh", {
title: "Universal Accounts Marketing"
});
}
};
document.head.appendChild(script);
})();
// Global function to open the Navattic demo popup
window.openNavatticDemo = function() {
if (window.NavatticEmbed) {
NavatticEmbed.openPopup("https://capture.navattic.com/cmklfh1m1000404laackz1wzh");
}
};