📊 Analytics Setup Guide
Track, measure, and optimize your website performance
Google Analytics 4
Event-based tracking for user behavior analysis
Search Console
Search performance and indexing insights
PageSpeed Insights
Core Web Vitals and performance metrics
🛠️ Setup Instructions
Create GA4 Property
Go to Google Analytics and create a new GA4 property for your website.
- Visit analytics.google.com
- Click Admin → Create Property
- Enter property name and configure settings
- Select "Web" as platform
Install Tracking Code
Add the GA4 tracking snippet to your website's <head> section.
<!-- Google Analytics 4 -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-XXXXXXXXXX');
</script>
Configure Enhanced Measurement
Enable automatic tracking for common user interactions.
- Page views (automatic)
- Scrolls (90% scroll depth)
- Outbound link clicks
- Site search
- File downloads
Set Up Conversions
Define important actions as conversions to track goal completions.
- Mark key events as conversions
- Newsletter signups
- Resource downloads
- Contact form submissions
Verify Installation
Confirm tracking is working correctly using DebugView.
- Install Google Analytics Debugger extension
- Open Admin → DebugView in GA4
- Navigate your site and watch events appear
- Check Real-Time reports for live data
Add Property
Add your website to Google Search Console.
- Visit search.google.com/search-console
- Click "Add Property"
- Choose Domain or URL prefix method
- Enter your website URL
Verify Ownership
Prove you own the website using one of these methods.
- HTML file upload (recommended)
- HTML meta tag
- DNS record (for domain property)
- Google Analytics verification
Submit Sitemap
Help Google discover all your pages efficiently.
- Go to Sitemaps section
- Enter sitemap URL (usually /sitemap.xml)
- Click Submit
- Check for any errors
Link to GA4
Connect Search Console to Analytics for deeper insights.
- In GA4, go to Admin → Product Links
- Select Search Console Links
- Click Link and select your property
- Access search data in GA4 reports
Create Container
Set up a Google Tag Manager container for your site.
- Visit tagmanager.google.com
- Create account and container
- Select "Web" as target platform
- Get container ID (GTM-XXXXXXX)
Install GTM Code
Add GTM snippets to your website.
<!-- Head section -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-XXXXXXX');</script>
Add GA4 Tag
Configure GA4 tracking through Tag Manager.
- Create new GA4 Configuration tag
- Enter Measurement ID
- Set trigger to "All Pages"
- Save and publish container
Test with Preview Mode
Verify tags fire correctly before publishing.
- Click Preview in GTM
- Enter your website URL
- Navigate your site in debug mode
- Confirm tags fire on correct triggers
📈 Key Metrics to Track
👥 Acquisition
- Sessions High
- New Users High
- Traffic Source High
- Organic Keywords Medium
💫 Engagement
- Engagement Rate High
- Avg. Session Duration Medium
- Pages per Session Medium
- Scroll Depth Low
🔍 SEO Performance
- Organic Traffic High
- Search Impressions High
- Click-Through Rate High
- Avg. Position Medium
⚡ Performance
- Core Web Vitals High
- Page Load Time High
- Mobile Usability Medium
- Index Coverage Medium
📋 Sample Dashboard
📊 Psilobase Analytics
Last 30 DaysTraffic Trend
Top Pages
- /golden-teacher2,341
- /microdosing-guide1,892
- /safety-tips1,456
- /identification1,234
- /research987
🔍 Search Console Features
📊 Performance Report
See which queries bring traffic, click-through rates, and average positions for your pages.
📑 Index Coverage
Monitor which pages are indexed, find errors, and fix crawling issues.
🔗 Links Report
Discover external sites linking to you and see internal link distribution.
📱 Mobile Usability
Identify mobile-specific issues affecting user experience and rankings.
⚡ Core Web Vitals
Track real-world performance data and improve page experience signals.
🎨 Rich Results
Monitor structured data validity and rich snippet appearances in search.
📑 Essential Reports
🚦 Traffic Report
Understand where your visitors come from and which channels perform best.
💫 Engagement Report
Measure how users interact with your content and site features.
🎯 Conversion Report
Track goal completions and understand your conversion funnel.
🔍 SEO Performance
Monitor organic search visibility and keyword rankings.