How to choose upgrade path?

Created on 21 October 2024, 2 months ago

Problem/Motivation

When updating an older site I need to move from google_analytics to google_tag.
After installing google tag (v2.0.6) seems to pick up the old id in the Default Tag Settings page ( /admin/config/services/google-tag) fine. So far, so good!

However now I am getting an error message whenever I try to update the database using Drush or update.php:

Google Tag 2.x is incompatible with Google Analytics while upgrading from 1.x.
In order to use Google Tag 2.x, you must decide the upgrade path between Google Tag 1.x and Google Analytics.

As far as I know, google_tag v1 was never installed on this site, so I do not get what this message means or how I should decide. There is no info about upgrading in the readme (of any info at all BTW)
If have tried first installing google_tag v1 before the second version, but I did not find any ways to upgrade from google_analytics to that version of google_tag.

Anything hints or tips on what to do or what to try?

💬 Support request
Status

Active

Version

2.0

Component

Documentation

Created by

🇳🇱Netherlands firfin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024