Back to Integrations
Cloudflare Pages Integration
Add Pulse to your project's HTML or follow your framework's guide.
Method 1: Framework-based setup (Recommended)
If you're deploying a framework (Next.js, Astro, Nuxt, etc.) to Cloudflare Pages, follow that framework's integration guide:
Method 2: Static HTML
For static HTML sites, add the Pulse script directly to your index.html.
index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script
defer
data-domain="your-site.com"
src="https://pulse.ciphera.net/script.js"
></script>
<title>My Site</title>
</head>
<body>
<h1>Hello World</h1>
</body>
</html>For more details, see the Cloudflare Pages docs.
Related Integrations: Netlify, Vercel, GitHub Pages