Skip to content

sameSite cookie issues with stats.wp.com/w.js #30097

Open
@kraftbj

Description

@kraftbj

Steps to reproduce the behavior

In this particular case, I:

  1. Started a JN site and view the Jetpack dashboard.
  2. View the console.

What I expected to happen

No errors

What actually happened

2021-08-31 at 10 24 AM

Context

a8c tracks call in stats.wp.com/w.js which is the origin of these cookies.

Browser / OS version

Firefox Dev (92b9), macOS 11.5.1

Is this specific to the applied theme? Which one?

n/a

Does this happen on simple or atomic sites or both?

Probably both; should be happening with anything loading w.js.

Is there any console output or error text?

Yes:

Cookie “tk_tc” will be soon rejected because it has the “SameSite” attribute set to “None” or an invalid value, without the “secure” attribute. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite

Level of impact (Does it block purchases? Does it affect more than just one site?)

Medium. It'll likely lead to failure to track soon.

Reproducibility (Consistent, Intermittent) Leave empty for consistent.

Screenshot / Video: If applicable, add screenshots to help explain your problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions