-
Notifications
You must be signed in to change notification settings - Fork 118
Fix Google Analytics issue #316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -3,6 +3,6 @@ console.log('✅ gtag-init.js loaded'); | |||||
window.dataLayer = window.dataLayer || []; | ||||||
function gtag() { dataLayer.push(arguments); } | ||||||
gtag('js', new Date()); | ||||||
gtag('config', 'G-W02ZZ2VJYCR', { | ||||||
gtag('config', 'G-W02Z2VJYCR', { | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The tracking ID 'G-W02Z2VJYCR' appears to be inconsistent with what might be expected for a Google Analytics measurement ID format. Please verify this is the correct tracking ID as Google Analytics measurement IDs typically follow the pattern G-XXXXXXXXXX with 10 characters after the G-.
Suggested change
Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||
debug_mode: location.hostname === 'localhost' ? 'true' : 'false' | ||||||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tracking ID 'G-W02Z2VJYCR' should match the one used in gtag-init.js. Please ensure both files use the same correct Google Analytics measurement ID for consistent tracking.
Copilot uses AI. Check for mistakes.