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

PP-12558 Upgrade to GA4 #4228

Merged
merged 2 commits into from
Jun 21, 2024
Merged

PP-12558 Upgrade to GA4 #4228

merged 2 commits into from
Jun 21, 2024

Conversation

hjvoid
Copy link
Contributor

@hjvoid hjvoid commented Jun 17, 2024

Context

Google is sunsetting Universal Analytics (GA3) at the end of June 2024.

The new version of analytics, GA4, recommends the use of Google Tag Manager. This is a functionality provided by Google, whereby arbitrary code may be entered into the Google Analytics console and then injected into a script on the application page.

The Google Tag Manager process bypasses Pay's secure development requirements (prioritisation, code written by trained software developers, code review and security testing) and is therefore not acceptable for use in any applications in the card data environment (CDE) or any applications that affect the CDE, as our PCI compliance would be at risk.

Google tag ('gtag') may be used as a static alternative to Google Tag Manager (see Google's documentation for more information about the difference between the two). This method does not include any code modifiable in the console and as such is suitable for use by GOV.UK Pay.

Changes proposed in this pull request

Implementation of gtag and removal of GA code.

Copy link
Contributor

@iqbalgds iqbalgds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - good work

@hjvoid hjvoid merged commit fd1b732 into master Jun 21, 2024
14 checks passed
@hjvoid hjvoid deleted the PP-12558_upgrade_to_GA4 branch June 21, 2024 11:02
@hjvoid hjvoid changed the title [WIP - DO NOT MERGE] PP-12558 Upgrade to GA4 PP-12558 Upgrade to GA4 Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants