Skip to content
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

⚰ Update to Google Analytics 4 and Cleanup Deprecated Configurations #76

Merged
merged 3 commits into from
Nov 15, 2024

Conversation

chriskyfung
Copy link
Owner

@chriskyfung chriskyfung commented Nov 15, 2024

This Pull Request introduces updates to the documentation and refactors the configuration files to support Google Analytics 4 (GA4), addressing deprecated configurations and improving conditional logic.

Changes

  1. Documentation Updates for Google Analytics 4:

    • Updated README to refer to Google Analytics 4.
    • Revised config-guide.md to remove references to the deprecated Google Analytics and emphasize GA4.
    • Corrected post-processing instructions to reflect the use of Google Analytics 4.
    • Updated CHANGLOG to reflect the changes.
  2. Refactor Analytics Configuration:

    • Corrected the conditional check for site.ga4 in postproc-content.html.
    • Removed outdated Google Analytics configuration in youtube.html.
    • Removed outdated Google Analytics configuration in default.html.
  3. Configuration Cleanup:

    • Updated example files to use GA4 Measurement ID.

Context

These updates aim to modernize the analytics tracking by transitioning fully to Google Analytics 4 and removing legacy configurations. The documentation has been updated to ensure clarity and provide accurate guidance on using GA4.

Issues Fixed

…onfigurations

- Corrected conditional check for `site.ga4` in `postproc-content.html`
- Removed outdated Google Analytics configuration in `youtube.html`
- Removed outdated Google Analytics configuration in `default.html`

Fixes #57
@chriskyfung chriskyfung self-assigned this Nov 15, 2024
@chriskyfung chriskyfung added documentation Improvements or additions to documentation deprecation Notices about features or methods that will be removed in the future labels Nov 15, 2024
@chriskyfung chriskyfung added this to the v3 milestone Nov 15, 2024
@chriskyfung chriskyfung force-pushed the remove/57-drop-outdated-google-analytics branch from 3585b20 to 4263c33 Compare November 15, 2024 04:10
- Updated README to refer to Google Analytics 4
- Updated `config-guide.md` to remove deprecated Google Analytics and highlight GA4
- Corrected post-processing instructions to reflect Google Analytics 4
- Updated CHANGELOG to reflect the changes.

Fixes #57
@chriskyfung chriskyfung force-pushed the remove/57-drop-outdated-google-analytics branch from 4263c33 to 56fb8fb Compare November 15, 2024 04:22
@chriskyfung chriskyfung merged commit 19bb7a9 into master Nov 15, 2024
3 checks passed
@chriskyfung chriskyfung deleted the remove/57-drop-outdated-google-analytics branch November 15, 2024 04:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deprecation Notices about features or methods that will be removed in the future documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🔥 Chore (AMP): Remove outdated Google Analytics (UA) from Jekyll theme
1 participant