This website includes Google Analytics tracking similar to the PersonalSite implementation. Follow these steps to activate analytics tracking.
- Go to Google Analytics
- Click "Start measuring" or create a new property
- Set up your account:
- Account name: "Strengths Consulting" (or your preferred name)
- Property name: "Strengths Consulting Website"
- Industry: "Professional Services"
- Business size: Select appropriate size
- After creating the property, you'll get a Measurement ID that looks like:
G-XXXXXXXXXX - Copy this ID
Replace G-XXXXXXXXXX in index.html with your actual measurement ID:
<!-- Find these lines in index.html (around line 811-818) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script>
// Replace G-XXXXXXXXXX with your actual measurement ID
gtag('config', 'G-XXXXXXXXXX', {Example:
If your measurement ID is G-ABC123DEF4, update both lines:
<script async src="https://www.googletagmanager.com/gtag/js?id=G-ABC123DEF4"></script>and
gtag('config', 'G-ABC123DEF4', {- Save the
index.htmlfile - Commit and push to GitHub:
git add index.html git commit -m "Add Google Analytics tracking" git push origin main - GitHub Pages will automatically update the live site
- Visit your live website: https://spencerliolios.github.io/ciara/
- In Google Analytics, go to Reports > Realtime
- You should see your visit appear within a few minutes
This implementation tracks the following events:
- Page views - Every time someone visits the site
- CTA button clicks - All buttons (Start Your Journey, View Services, etc.)
- Service card clicks - When someone clicks on Individual/Couple/Team coaching cards
- Constellation interactions - Clicks on strength stars (Strategic, Empathy, etc.)
- Form submissions - Contact form and newsletter signups
- Social media clicks - LinkedIn, Twitter, Instagram, etc.
- Phone/Email clicks - When someone clicks to call or email
- Testimonial interactions - Clicks on client testimonials
Each event includes relevant context like:
- Which service was clicked
- Which strength was selected
- Button text and section
- Form type (contact vs newsletter)
- Social platform name
- Author name for testimonials
The implementation includes privacy-friendly settings:
- IP Anonymization:
anonymize_ip: true - Secure Cookies:
cookie_flags: 'SameSite=None;Secure' - No Personal Data: Email addresses are tracked as events, not stored as user properties
In Google Analytics, you can:
- Realtime Reports: See current visitors and their actions
- Events Report: View all tracked interactions
- Conversion Tracking: Set up goals for form submissions
- Audience Insights: Learn about your visitors' demographics and interests
Consider setting up these conversion goals in Google Analytics:
- Contact form submissions
- Newsletter signups
- Phone number clicks
- Email clicks
- Service page engagement
To test that analytics is working:
- Open your website in an incognito/private browser window
- Click around the site (buttons, services, etc.)
- Check Google Analytics Realtime reports
- Look for your events appearing
If you need help with Google Analytics setup:
This implementation follows the same pattern as your PersonalSite:
- Privacy-friendly configuration
- Comprehensive event tracking
- No external dependencies
- Clean, minimal setup