Documentation
All documentation

Website monitoring

Install the website script on Wix

Add DocAccessible through Wix Custom Code on every page, place it at Body - end, and verify the published connected domain.

For
Wix site owners, administrators, and agency partners
Typical time
10-20 minutes
Copy your website script

Before you start

  • A published Wix site with a connected custom domain
  • Access to Development and integrations settings
  • The generated installation code for that exact domain

Procedure

Step by step

  1. Copy the generated tag

    Open the connected Wix domain in DocAccessible and copy the complete Installation code.

  2. Open Wix Custom Code

    From the site's dashboard, open Settings. In Development and integrations, choose Custom Code, then Add Custom Code.

  3. Name and paste the code

    Use a clear name such as DocAccessible website monitoring and paste the exact generated tag into the code field.

  4. Apply it to all pages

    Choose All pages, including future pages, and configure it to load on each page a visitor opens so each public location can report its current PDF links.

  5. Choose Body - end and apply

    Under placement, choose Body - end. Apply the change and publish the site if Wix requests publication.

  6. Verify the connected domain

    Open a public page on the primary connected domain, check page source for the site key, and return to DocAccessible to confirm Script connected.

Required Wix settings

The script should be invisible and global. Do not use an Embed HTML element because embeds run inside a separate iframe and cannot inventory links in the main Wix page.

  • Add Code to Pages: All pages
  • Frequency: each page a visitor opens
  • Place Code in: Body - end
  • Domain: the primary domain connected in DocAccessible
Wix Custom Code value
<script async src="https://docaccessible.com/site/v1.js" data-site-key="YOUR_SITE_KEY"></script>

Wix security and domain changes

Wix introduced additional frontend security checks for custom code in December 2025. If the saved tag is missing or blocked, check the Wix code status, browser console, CSP messages, and whether the site uses the same primary domain.

Wix associates custom-code snippets with a domain. Recheck the installation after assigning a different primary domain.

Official Wix reference

Wix's current Custom Code workflow supports all-page installation and Head, Body - start, or Body - end placement.