Sites that use Google Analytics 4 (GA4) can't enter their Web Property ID in the AMP Analytics form, as the field must be filled with a value in the form of UA-xxxxxxx-yy .

Universal Analytics will no longer process data after July 2023 and only GA4 properties will continue to collect data.

We should include the option to enter a Google Analytics ID in different forms, besides UA-xxxxxxx-yy

Issue fork amp-3320759

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

a_mil created an issue. See original summary.

erku’s picture

Has this issue been solved? I am looking for solution for this too.

sheetal-wish’s picture

Has anyone found it's solution?
I am also getting the same issue.

sheetal-wish’s picture

Category: Feature request » Bug report
Priority: Normal » Major

SKAUGHT made their first commit to this issue’s fork.

skaught’s picture

Status: Active » Needs review
skaught’s picture

there seems to be test fails everywhere for this project at this time.
ie:#3428159: Automated Drupal 11 compatibility fixes for amp

makkus183 made their first commit to this issue’s fork.

makkus183’s picture

Had the same issue and MR21 is working fine for me. As 'UA-' properties are deprected now, the format should not be supported anymore. The MR only supports 'G-' format, which is correct in my opinion.

But the approach to handle both Formats which was mentioned in the Issue description seems outdated now.

Would be happy if MR21 gets merged!