Prepare for launch: Add Google Analytics, enhanced SEO, and go-live checklist

This commit is contained in:
Peter
2025-06-07 11:03:22 +01:00
parent f13a131700
commit 4f56b3664a
4 changed files with 277 additions and 11 deletions

109
GO-LIVE-CHECKLIST.md Normal file
View File

@@ -0,0 +1,109 @@
# UK Data Services - Go Live Checklist
## 🚀 Pre-Launch Checklist
### 1. Google Analytics Setup
**REQUIRED**: Replace tracking codes in `index.php`
- [ ] **Get Google Analytics 4 Measurement ID** from your current site
- Log into [Google Analytics](https://analytics.google.com)
- Go to Admin → Property Settings → Data Streams
- Copy your Measurement ID (format: `G-XXXXXXXXXX`)
- [ ] **Update tracking code** in `index.php` line ~52:
```html
<!-- Replace GA_MEASUREMENT_ID with your actual ID -->
<script async src="https://www.googletagmanager.com/gtag/js?id=YOUR_GA4_ID_HERE"></script>
<script>
gtag('config', 'YOUR_GA4_ID_HERE', {
```
### 2. Google Tag Manager (Optional)
If you use Google Tag Manager:
- [ ] Get your GTM Container ID (format: `GTM-XXXXXXX`)
- [ ] Uncomment and update GTM code in `index.php` lines ~59-67
- [ ] Uncomment noscript tag after `<body>` tag
### 3. Microsoft Clarity (Optional)
For additional user behavior analytics:
- [ ] Sign up at [Microsoft Clarity](https://clarity.microsoft.com)
- [ ] Get your Project ID
- [ ] Uncomment and update Clarity code in `index.php` lines ~69-77
### 4. Social Media Images
- [ ] Create/upload Open Graph image: `assets/images/og-image.jpg` (1200x630px)
- [ ] Create/upload Twitter card image: `assets/images/twitter-card.jpg` (1200x600px)
### 5. Favicon & App Icons
- [ ] Ensure `assets/images/favicon.ico` exists
- [ ] Ensure `assets/images/apple-touch-icon.png` exists (180x180px)
### 6. SEO Verification
- [ ] Submit sitemap to Google Search Console: `https://ukdataservices.co.uk/sitemap.xml`
- [ ] Submit sitemap to Bing Webmaster Tools
- [ ] Verify meta descriptions are under 160 characters
- [ ] Test structured data with [Google Rich Results Test](https://search.google.com/test/rich-results)
### 7. Security & Performance
- [ ] Enable HTTPS/SSL certificate
- [ ] Test all security headers are working
- [ ] Test website speed with [PageSpeed Insights](https://pagespeed.web.dev/)
- [ ] Test mobile responsiveness
### 8. Content Review
- [ ] Verify phone number: +44 1692 689150
- [ ] Verify email: info@ukdataservices.co.uk
- [ ] Check all links work correctly
- [ ] Test contact form functionality
- [ ] Test quote form functionality
### 9. Analytics Testing
After going live:
- [ ] Test Google Analytics is tracking pageviews
- [ ] Test form submissions are being tracked
- [ ] Verify real-time data appears in GA dashboard
- [ ] Test 404 page tracking
### 10. Technical Setup
- [ ] Update DNS to point to new server
- [ ] Set up 301 redirects from old URLs if needed
- [ ] Configure email forwarding if needed
- [ ] Test all Docker containers are running properly
## 📊 Current Analytics Integration
The new site includes:
✅ **Google Analytics 4** with enhanced tracking:
- Page views
- Form submissions
- User engagement
- Custom events
✅ **Enhanced SEO Meta Tags**:
- Comprehensive Open Graph tags
- Twitter Card optimization
- Search engine directives
- Structured data for search results
✅ **Security Headers**:
- Content Security Policy updated for analytics
- XSS Protection
- HTTPS enforcement
- Clickjacking prevention
✅ **Performance Optimizations**:
- Async loading of analytics scripts
- Optimized images and fonts
- Efficient CSS and JavaScript
## 🔧 Files Modified for Launch
- `index.php` - Added analytics, enhanced SEO
- Security headers updated for tracking domains
- Meta tags optimized for search engines
## 📞 Support
If you need help with any of these steps, contact your development team or refer to the Google Analytics documentation.
---
**Last Updated**: June 2025