ampproject / ampproject/amp.dev

Navigating from amp.dev to blog leaves _gl query param in the URL

Open
#4,292 2 comments 0 reactions 1 assignee Claimed by @westonruter View on GitHub
Category: Blog Status: Pending Triage Type: Bug
Dominant language
HTML
Stars
600
Forks
675
PR merge metrics
No merged PRs in 30d

Description

When navigating from amp.dev to the blog via the nav menu, the resulting URL has a `_gl` query parameter left in it. For example:

![image](https://user-images.githubusercontent.com/134745/90066476-a3d9e400-dca2-11ea-97ea-90389f6a1b76.png)

This parameter should not persist.

I believe the only thing needed here is to install the Site Kit plugin on the blog rather than use the existing hard-coded `amp-analytics` tag. The analytics added by Site Kit have support for domain linker which will cause that query parameter to be stripped.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.