Integration Guide: Wix/Squarespace
Follow these steps to integrate Ad Unblock into your Wix/Squarespace website.

Where to find your verification code

Your verification code is available in your Ad Unblock dashboard. Navigate to: Dashboard → [Your Site] → Integration → Verification

CDN Endpoint

Ad blockers regularly update their rules, and CDN endpoints may become blocked over time. As a site owner, you are responsible for using the latest valid CDN endpoints by regularly checking the System Status page or implementing server-side fetching from https://config.adunblocker.com/valid_script_sources.json.

For Wix Sites

Add the AdUnblock script to your Wix site:

  1. Log in to your Wix account and open your site in the Editor
  2. Click on Settings (the gear icon) in the top menu
  3. Select Custom Code from the left menu
  4. Click + Add Custom Code
  5. Paste the following code:
<script src="https://d16sc05it918j8.cloudfront.net" async data-code="YOUR_VERIFICATION_CODE"></script>
  1. Set Place Code in to Head
  2. Add a name for your custom code (e.g., "AdUnblock Integration")
  3. Click Apply
  4. Publish your site to apply the changes

For Squarespace Sites

Add the AdUnblock script to your Squarespace site:

  1. Log in to your Squarespace account
  2. Navigate to SettingsAdvanced Code Injection
  3. In the Header section, paste the following code:
<script src="https://d16sc05it918j8.cloudfront.net" async data-code="YOUR_VERIFICATION_CODE"></script>
  1. Click Save

Verify Integration

After adding the script, verify your integration is working properly:

Your Verification Code

Your unique verification code YOUR_VERIFICATION_CODE has been shown as a placeholder in the code examples above. The code attribute is required for Ad Unblock to verify your integration.

Available Script Sources

We provide multiple CDN endpoints to enhance reliability. If the primary script source is blocked by an ad blocker, you can use one of our alternative sources. View our status page to see all available endpoints and their current status:

You can also fetch the latest list of valid script sources programmatically from:https://config.adunblocker.com/valid_script_sources.json

Important Notice

As a site owner, you are responsible for ensuring your integration uses the latest valid CDN endpoints. Ad blockers regularly update their rules, which may block our endpoints. We recommend:

  • Regularly check the System Status page for updated endpoint information
  • For production environments, implement server-side fetching from our API with proper caching
  • Use the API endpoint https://config.adunblocker.com/valid_script_sources.json to programmatically retrieve the latest valid scripts
  • Never implement client-side fallbacks that fetch from our API directly

Need help?

If you're experiencing any issues with the integration, please contact our support team at support@adunblock.com