Below we walk you through the steps to secure your Marker.io widget, ensuring it only appears on trusted websites. This will help prevent unauthorized use and unwanted issues on your projects.
Why Secure Your Widget?
By default, you can use the same Marker.io JavaScript code on multiple websites. For example:
website1.com
website2.com
staging.website3.com
uat.website4.com
However, if your widget is installed on a publicly accessible domain, someone with bad intentions could copy your code and install your widget on other websites. This might lead to spam or irrelevant issues being reported.
To prevent this, you can enable domain protection, ensuring that your widget works only on the websites you need.
Steps to Secure Your Widget
Here's how you can secure your widget and restrict its use to trusted domains:
Go to Project Settings: Log in to your Marker.io account and open the project you want to secure.
Navigate to Widget Security: In the project settings menu, click on Widget and then select Security.
Enable Domain Restriction: Find the option that says Restrict to listed domains and select it.
List Your Trusted Domains:
Locking Down the Widget to Specific Users or Pages
If you'd like to ensure that only certain users or pages can access your widget, check out the below guides:
Need Help?
If you have any questions, comments, or corrections, chat with us at the bottom right of our web pages.