Jump to content

Recommended Posts

Do you use the same JavaScript registration format for using externally hosted paths?

Specifically, since I'm using https://app.termly.io/embed-policy.min.js, do I still use path, or something else? Also, I'm not sure about the ID field, because its externally hosted. Here is the JavaScript snippet I've been given to work with. It has a USER ID, and I'm wondering if I should use this for the ID field?

<!-- Termly Tracking Code --> <div name="termly-embed" data-id="e0ddfc2a-7d40-4f3c-a7d7-e2e904b34638" data-type="iframe"></div> <script type="text/javascript">(function(d, s, id) { var js, tjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "https://app.termly.io/embed-policy.min.js"; tjs.parentNode.insertBefore(js, tjs); }(document, 'script', 'termly-jssdk'));</script>


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More