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

add "?amp" instead of "/amp/" for AMP visit tracking (#183) #195

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

stklcode
Copy link
Contributor

This is one possible way to fix #183

Instead of adding /amp/ to the URL of the page is accessed via AMP, we now add ?amp .
This is always fine, because AMP should never provide other URL parameters.

Depending on the outcome of the discussion in #183 we can either merge this PR or close it. Just opened, so we don't do the work twice if needed.

inc/class-statify-frontend.php Outdated Show resolved Hide resolved
inc/class-statify-frontend.php Outdated Show resolved Hide resolved
inc/class-statify-frontend.php Outdated Show resolved Hide resolved
@sonarcloud
Copy link

sonarcloud bot commented Sep 17, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@pluginkollektiv pluginkollektiv deleted a comment from sonarcloud bot Sep 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong path for AMP pages
2 participants