In order to embed one of your slices in a website, you need to add your website to your whitelist.
Whitelists are a security measure. Without whitelists, anybody with a bit of HTML knowledge could copy your embed codes into their own website — stealing your content (and possibly costing you some money in Soundslice fees).
To edit your whitelist:
1. Go to the Edit embed whitelist page, accessible via your account settings.
2. Enter the domain(s) your website uses, one per line. Examples of domains are:
Note these do not include “http://” or “https://” nor any slashes. It’s only the domain.
Also note that “www.example.com” and “example.com” are treated as two separate domains. Make sure to include both, if appropriate.
As soon as you save your whitelist, the changes take effect immediately.
What happens if my slice is embedded on a domain that’s not on the whitelist?
The slice won’t display. The user will see an error message saying the current domain isn’t on your whitelist. You will not get charged for this user/view.
What if I don’t know my site’s domain?
This can happen if you’re using a third-party tool or publishing system. No problem! Just copy the embed code into your site and try to view it in your site. You’ll see the error message, and it will tell you exactly which domain to add to your whitelist.
What domain should I use during local development?
Feel free to add “127.0.0.1” and/or “localhost” to your whitelist as appropriate.