Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ const config: Config = {
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
gtag: {
trackingID: 'G-W02Z2VJYCR',
Copy link

Copilot AI Aug 14, 2025

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.

Suggested change
trackingID: 'G-W02Z2VJYCR',
trackingID: 'G-XXXXXXXXXX',

Copilot uses AI. Check for mistakes.

anonymizeIP: false,
},
} satisfies Preset.Options,
],
],
Expand Down
2 changes: 1 addition & 1 deletion static/gtag-init.js
Original file line number Diff line number Diff line change
Expand Up @@ -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', {
Copy link

Copilot AI Aug 14, 2025

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' 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
gtag('config', 'G-W02Z2VJYCR', {
gtag('config', 'G-XXXXXXXXXX', { // <-- Replace G-XXXXXXXXXX with your actual 10-character measurement ID

Copilot uses AI. Check for mistakes.

debug_mode: location.hostname === 'localhost' ? 'true' : 'false'
});
Loading