Set Up Website Analytics in 5 Minutes
A step-by-step guide to adding analytics to any website. Works with WordPress, Wix, Squarespace, Next.js, and every other platform.
1️⃣ Step 1: Create Your Account (1 minute)
Head to Copper Analytics and create a free account. You'll need:
- 📧 An email address
- 🔑 A password
- 🌐 Your website URL
No credit card required. The free plan includes 10,000 page views per month.
2️⃣ Step 2: Get Your Tracking Code (30 seconds)
After creating your account, you'll see your unique tracking code:
Copy this code. You'll paste it into your website in the next step.
3️⃣ Step 3: Add the Code to Your Website (2-3 minutes)
The process varies slightly by platform. Find your platform below:
📝 WordPress
- Go to Appearance → Theme Editor (or use a plugin like Insert Headers and Footers)
- Open your header.php file
- Paste the tracking code just before the closing
</head>tag - Save changes
✨ Wix
- Go to Settings → Custom Code
- Click "+ Add Custom Code"
- Paste the tracking code
- Set it to load on "All Pages" in the "Head"
- Save and publish
🎨 Squarespace
- Go to Settings → Advanced → Code Injection
- Paste the tracking code in the "Header" section
- Save
⚛️ Next.js / React
Add to your _app.js or layout component:
🌐 HTML / Static Sites
Add the script tag to every page, just before the closing </head> tag.
4️⃣ Step 4: Verify It's Working (1 minute)
Visit your website in a new browser tab. Then check your Copper Analytics dashboard. You should see:
- 👤 1 current visitor (that's you!)
- 📊 A page view recorded
- 🌍 Your location on the map
If you see data appearing, congratulations! Your analytics are live.
🔧 Troubleshooting
No data showing up? Check these common issues:
- 🗄️ Caching: Clear your site's cache and your browser cache
- 🛡️ Ad blocker: Some ad blockers may block analytics. Test in incognito mode with extensions disabled
- 📍 Code placement: Make sure the script is in the
<head>section, not the body - 📤 Published changes: On Wix/Squarespace, make sure you clicked "Publish" after adding the code
🚀 What's Next?
Now that analytics are running, wait 24-48 hours to collect meaningful data. Then:
- 🏆 Review your top pages—what content resonates?
- 🔗 Check traffic sources—where are visitors coming from?
- 📱 Look at devices—are you optimized for your audience?