Skip to content

amp-analytics linkers config not working on all web stories links #32060

@travisj

Description

@travisj

What's the issue?

I'm trying to share CLIENT_ID from amp cache pages to our primary domain. I believe this is the intended use-case for setting linkers in the amp-analytics config. We have our own analytics package and not using google analytics.

outbound links in the lower 20% of the amp-story-page seem to work correctly and the linker id values set in the config work. any links not in the lower 20% that require a click confirmation, however, do not include the linker id data.

How do we reproduce the issue?

I have only been able to reproduce this with pages served from the amp cache since, i believe, linkers only works there.

  1. Visit https://www-jumprope-com.cdn.ampproject.org/c/s/www.jumprope.com/g/most-amazing-street-art-in-san-francisco-/IRYTeNmx
  2. On the first page, click on "View my profile" at the bottom and see that the linkers data is added to the url on the destination
  3. Go back to the first page and click on the username, "thenextsomewhere" in the upper right (it should be the exact same url as the "view my profile link"), but see that once you click the confirmation and go to the user profile page on jumprope.com, the linkers data was not added.
  4. Similar behavior happens on the last card, as well.

What browsers are affected?

i tried on a few different browsers and saw the issue on all i tried:

  • chrome mac os
  • safari mac os
  • safari ios
  • google app ios

Which AMP version is affected?

2012301722001

I just implemented linkers today, so i'm not sure how long this has been an issue.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions