Skip to main content

Find your Site ID.

Log into your Wiley dashboard, go to Sites, and find your Site ID. It's shown on your site card. It looks like blg18gam3hpm59so.

Go to Sites →

Add the script to your site.

Paste this snippet before the closing </head> tag on every page you want to track. Replace YOUR_SITE_ID with the ID from step 1.

<script src="https://cdn.fromwiley.com/wiley.js" data-site="YOUR_SITE_ID" async></script>

Platform-specific instructions.

Ghost CMS

Go to Settings → Code injection → Site header and paste the script there. It applies to all pages automatically.

WordPress

Install a plugin like Insert Headers and Footers, then paste the script in the header section. Or add it directly to your theme's header.php before </head>.

Squarespace

Go to Settings → Advanced → Code Injection → Header and paste the script there.

Webflow

Go to Project Settings → Custom Code → Head Code and paste the script.

HTML / static sites

Paste the script before </head> in your HTML template or layout file.

Next.js / SvelteKit / other frameworks

Add the script to your root layout component, inside the <head> element.

Verify it's working.

Visit your site in a browser. Then check your Wiley dashboard. Within a minute you should see a tracking event appear. Your first Nudge will arrive the next day.

Check your dashboard →

A note on privacy.

Wiley's tracking script uses no cookies and collects no personal data. Visitors are identified using a daily rotating anonymous fingerprint that cannot be reversed or linked to an individual. No GDPR cookie banner required. Read the full privacy policy →