• Здравствуйте! У меня несколько сайтов, при подключения инструмента веб-аналитики ?Яндекс Метрика?, у всех сайтов на страницах которых используется ?Elementor?, в панели разработчика выдаётся ошибка ?Cookies with the?SameSite=None; Secure?and not?Partitioned?attributes that operate in cross-site contexts are third-party cookies. In future Chrome versions, reading third-party cookies will be blocked. This behavior protects user data from cross-site tracking?.
    На всех остальных страницах на которых ?Elementor? не используется, ошибки нет.
    Подскажите, пожалуйста, как исправить? Заранее благодарю!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Milos

    (@miloss84)

    Hi there,

    Can you please send your question in English since this is the official language of our support?

    Thank you for your understanding.

    Kind regards,

    Thread Starter podguzon39

    (@podguzon39)

    I apologize and hello! I have several sites, when connecting the web analytics tool “Yandex Metrica”, all sites on the pages of which use “Elementor”, an error is displayed in the developer panel ?Cookies with the?SameSite=None; Secure?and not?Partitioned?attributes that operate in cross-site contexts are third-party cookies. In future Chrome versions, reading third-party cookies will be blocked. This behavior protects user data from cross-site tracking?.

    On all other pages where “Elementor” is not used, there is no error.
    Please tell me how to fix it? Thank you in advance!

    https://disk.yandex.ru/i/B7PIAfCXAKqDKw

    Plugin Support Milos

    (@miloss84)

    The error you’re encountering is related to the SameSite cookie attribute, which is a security feature in web browsers to prevent cross-site request forgery attacks. The error suggests that cookies with the SameSite=None; Secure attributes, which operate in cross-site contexts, are being treated as third-party cookies. This behavior is expected to change in future Chrome versions, and reading third-party cookies may be blocked.

    To resolve this issue, you can try the following steps:

    1. Update Yandex Metrica Code:
      Make sure you are using the latest version of the Yandex Metrica tracking code. The developers of analytics tools often update their scripts to be compatible with the latest web standards and browser changes.
    2. Check SameSite Cookie Settings:
      If you have control over the Yandex Metrica settings or implementation, ensure that the SameSite attribute for cookies is appropriately set. For cross-site cookies, it should be set to None and marked as Secure if the site is served over HTTPS.
    3. Use HTTPS:
      Ensure that your websites are served over HTTPS. The Secure attribute in the SameSite cookie policy requires a secure (HTTPS) connection. If your site is not already using HTTPS, consider obtaining an SSL certificate and migrating to HTTPS.
    4. Test in Different Browsers:
      Check if the issue persists in different web browsers. This will help you determine if it’s a browser-specific problem or a more widespread issue.
    5. Clear Cookies:
      Sometimes, browser cookies can cause unexpected behavior. Try clearing your browser cookies and then check if the issue persists.
    6. Contact Yandex Support:
      If the problem persists, reach out to Yandex Metrica support. They may have specific guidance or updates regarding this issue.
    7. Monitor Browser Console:
      Keep an eye on your browser’s developer console for any additional error messages or warnings that might provide more insight into the issue.

    If none of the above solutions work, consider seeking assistance from the support channels of both Yandex Metrica and Elementor, as they may have specific insights into the interaction between their scripts and the SameSite cookie policy.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Файлы cookie с параметром SameSite=None’ is closed to new replies.