Clerk.js CDN
When using Clerk.js to render content on your site it can be loaded from 2 different urls. Both will always return the latest official version of Clerk.js.
https://cdn.clerk.io/clerk.js
https://custom.clerk.io/*.js
The second option let's you choose a specific name for our Javascript library, to avoid some Ad Blockers and other services blocking it. It works as a wildcard that loads the script regardless of the name you provide. E.g. Clerk.js could be loaded as https://custom.clerk.io/sportshoppen.js
If you want to circumvent Ad Blockers entirely, you can also configure your server to load Clerk.js with a customised name from your own domain. Here is an example nginx config:
server {
listen 80;
server_name yourdomain.com;
location /yourdomain.js {
proxy_pass https://custom.clerk.io/yourdomain.js`>;
proxy_set_header Host custom.clerk.io;
}
}
Updated 5 days ago