Showing the Popup
GetComplied Popup will prompt automatically if it's a new user or if there is any new document/cookie.
To use the Web SDK please install the snippet first.
To open GetComplied modal use the following tag.
1
<gc-prompt-caller>Comply</gc-prompt-caller>
Copied!
Or you can add a property to any element.
1
<div gc-prompt-caller></div>
Copied!

JAVASCRIPT

To you the correct javascript implementation please check the Events section.
1
yourButton.addEventListener('click', function(){getComplied.command('show')});
Copied!
Last modified 1yr ago
Copy link
Contents
JAVASCRIPT