- Issue created by @karlshea
- πΊπΈUnited States pookmish
I believe this should actually be an issue with google_tag module. It contains a hook_module_implements_alter that unsets the google analytics hook which adds the GA code.
- Status changed to Closed: works as designed
over 1 year ago 6:44pm 18 July 2023 - πΊπΈUnited States japerry KVUO
This is correct, the functionality of Google Analytics has been rolled into Google Tag 2.x. Once you run updb, you should not need to use Google Analytics anymore. This has been documented on the project page.
- πΊπΈUnited States karlshea Minneapolis πΊπΈ
> This has been documented on the project page.
Not really, it says "Users are strongly encouraged to use Google Tag 2.0+ instead. It supports all of GA4 and is the successor to this module."
Many people would have had both installed at the same time, nowhere does it say that they're now suddenly incompatible with each other.
- πΊπΈUnited States pookmish
I agree with KarlShea. There needs to be much greater documentation about the what happens when installing both modules at the same time. The current language provides no helpful information. It required actually tracing hook implementations for me to find where the conflict was.
- Status changed to Active
10 months ago 9:52pm 23 January 2024 - πΊπΈUnited States mradcliffe USA
Based on the past few comments it looks like what needs to happen is some documentation to site administrators clarifying this process
This is correct, the functionality of Google Analytics has been rolled into Google Tag 2.x. Once you run updb, you should not need to use Google Analytics anymore. This has been documented on the project page.
It seems like the process is:
1. Require drupal/google_tag drupal/google_analytics:4.0.2
2. Install google_tag module(s).
3. Run database updates?
4. Uninstall google_analytics module
5. Remove drupal/google_analyticsIf that's correct, then maybe that should be on the front page as well?
I think this should be re-opened as a Major Documentation Task rather than a Critical Bug Report.
- πΊπΈUnited States DamienMcKenna NH, USA
The Google Tag module's project page and hook_requirements() should be updated to make this more clear, the current wording is unclear.