Skip to content

Automatically mark GA4 scripts as being PX-verified #7289

Closed
@westonruter

Description

@westonruter

Feature Description

As we have advised in the support forum, site owners can use GA4 on AMP pages by using the moderate sandboxing level and adding data-px-verified-tag to the Google Analytics scripts.

We should add a sanitizer that will do this automatically when the user has selected either the Moderate or Loose sandboxing level. This will facilitate using GA4 while waiting on an AMP implementation.

Acceptance Criteria

GA4 scripts should not get sanitized from pages when in Moderate or Loose sandboxing level.

Implementation Brief

No response

QA Testing Instructions

No response

Demo

No response

Changelog Entry

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    ChangeloggedWhether the issue/PR has been added to release notes.EnhancementNew feature or improvement of an existing one

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions