Set Up Website Analytics in 5 Minutes | Step-by-Step Guide
A step-by-step guide to adding analytics to any website. Works with WordPress, Wix, Squarespace, Next.js, and every other platform.
Jump to section
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 needed
The free plan includes 10,000 page views per month. You can upgrade later if your traffic grows, but most small sites never need to.
Unlike Google Analytics, which requires linking a Google account and navigating multiple configuration screens, Copper Analytics keeps the signup flow to a single page. You enter your details, confirm your email, and land directly on the dashboard — ready to grab your tracking code.
If you manage more than one website, you can add additional sites from the same account. Each site gets its own tracking code and a separate data silo, so your analytics stay organized from day one.
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.
<1 KB
Copper script
~22 KB
Matomo script
~45 KB
Google Analytics
The script size matters more than most people realize. A 45 KB analytics bundle can add 100-200 ms to your page load on mobile connections, directly hurting your Core Web Vitals scores. Copper's sub-1 KB footprint is essentially invisible to Lighthouse and PageSpeed Insights.
Step 3: Add the Code to Your Website (2-3 minutes)
The process varies slightly by platform. Find your platform below:
Add to your _app.js or layout component:
Add the script tag to every page, just before the closing tag.
- 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 <code></head></code> tag
- Save changes
- 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
- Go to Settings → Advanced → Code Injection
- Paste the tracking code in the "Header" section
- Save
Using a tag manager?
If you already use Google Tag Manager, you can add Copper Analytics as a Custom HTML tag instead. Create a new tag, paste the tracking code, set the trigger to "All Pages," and publish the container. This avoids editing your site's source code entirely.
Platform Setup Comparison
Every platform handles custom code slightly differently. Here's how the setup experience compares — all of them take under three minutes.
Squarespace
Built-in Code Injection panel. Paste the script, click Save — done. No plugins or file editing required. Setup: ~1 minute · Difficulty: Easiest
Wix
Custom Code panel under Settings. Add the script, choose "All Pages" and "Head," then publish. Setup: ~2 minutes · Difficulty: Easy
WordPress
Use the Theme Editor or a header-injection plugin. Editing <code>header.php</code> directly is straightforward but requires care. Setup: ~2 minutes · Difficulty: Moderate
Next.js / React
Use the <code>next/script</code> component or add a <code><script></code> tag to your root layout. Works with Pages Router and App Router. Setup: ~2 minutes · Difficulty: Moderate
Regardless of which platform you use, the underlying process is identical: place a single script tag in the <head> of every page. The platforms above simply differ in where you access that <head> section.
Bring External Site Data Into Copper
Pull roadmaps, blog metadata, and operational signals into one dashboard without asking every team to learn a new workflow.
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
You're Live
If you see data appearing in the dashboard, congratulations — your analytics are working. Data shows up in real time, so there's no waiting period.
Try navigating to two or three different pages on your site while watching the dashboard. You should see each page view appear within seconds. If you are running a single-page application built with React or Next.js, Copper automatically tracks client-side route changes — no extra configuration needed.
Troubleshooting
No data showing up? Check these common issues:
Browser caching
Clear your site's cache and your browser cache. Cached pages may not include the new script tag yet.
Ad blocker interference
Some ad blockers may block analytics scripts. Test in incognito mode with all extensions disabled.
Code placement
Make sure the script is in the <code><head></code> section, not the body. Head placement ensures it loads before content renders.
Publishing changes
On Wix and Squarespace, make sure you clicked "Publish" after adding the code. Drafts won't go live.
Still not working? Open your browser's Developer Tools (F12), go to the Network tab, and look for track.js in the requests. If it's missing, the script tag wasn't inserted correctly. If it shows a red error, your site ID may be incorrect.
Why Copper Analytics?
There are dozens of analytics tools available, but Copper Analytics is purpose-built for site owners who want clarity without complexity. Here's what sets it apart from the alternatives.
Privacy by default
No cookies, no personal data, no consent banners. GDPR and CCPA compliant out of the box — nothing to configure.
AI crawler tracking
See which AI bots (GPTBot, ClaudeBot, Perplexity) crawl your site, how often, and which pages they target.
Core Web Vitals
Track LCP, CLS, INP, FCP, and TTFB directly in your dashboard. No separate performance tool needed.
Real-time dashboard
Visitor data appears instantly, not in batched intervals. See who's on your site right now.
Sub-1 KB script
45x smaller than Google Analytics. Virtually zero impact on your page load speed or Core Web Vitals scores.
Genuinely free tier
10,000 page views per month at no cost. No credit card required, no trial expiration, no feature gating.
For teams that have outgrown Google Analytics but don't want the operational overhead of self-hosting Matomo or Plausible, Copper Analytics fills a practical middle ground: hosted, privacy-first, and lightweight enough that you never have to think about its performance impact.
No cookie banners needed
Because Copper Analytics does not use cookies or collect personal data, you can skip the consent banner entirely. This means faster page loads, cleaner design, and zero legal complexity around GDPR or CCPA cookie consent requirements.
What's Next?
Now that analytics are running, wait 24–48 hours to collect meaningful data. Then focus on these three areas:
Pages
What content resonates?
Sources
Where do visitors come from?
Devices
Are you optimized?
These three data points will tell you where to focus your next round of improvements — whether that's writing more of what works, doubling down on a traffic source, or fixing your mobile experience.
Once you have a week of data, set a recurring check — even ten minutes every Monday morning is enough. Look for pages with high traffic but short session times (possible content mismatch), referral sources you haven't actively pursued, and device splits that might signal a mobile usability issue.
Which Setup Path Is Right for You?
Every platform works, but the ideal approach depends on your technical comfort and how much control you want over the process.
Non-technical site owners
Use Squarespace or Wix's built-in code injection panels. No files to edit, no plugins to install. Paste the script, hit Save, and you're tracking in under two minutes.
WordPress site owners
Install a header-injection plugin like "Insert Headers and Footers" to keep the script safe from theme updates. Editing <code>header.php</code> directly works too, but a plugin is more durable long-term.
Developers (Next.js, React, static HTML)
Add the script to your root layout or use the <code>next/script</code> component. Copper Analytics's sub-1 KB script won't affect your Lighthouse score, and automatic SPA route tracking means no extra configuration for client-side navigation.
Bottom Line
Adding analytics doesn't need to be complicated. With Copper Analytics, the entire process — account creation, script installation, and verification — takes less than five minutes on any platform. No cookies, no consent banners, no performance hit.
What to Do Next
The right stack depends on how much visibility, workflow control, and reporting depth you need. If you want a simpler way to centralize site reporting and operational data, compare plans on the pricing page and start with a free Copper Analytics account.
You can also keep exploring related guides from the Copper Analytics blog to compare tools, setup patterns, and reporting workflows before making a decision.