Embedding Issues


Embedding in Google Chrome

In Version 80, Google Chrome changed the default value of the SameSite cookie.

  • Before Version 80, the SameSite cookie defaulted to None.
  • In Version 80, the default was changed to Lax.

This allows the cookie to be sent only with the top-level navigation. As a result, third-party cookies cannot be set. Because embedding GoodData relies on third-party context, embedded GoodData objects (for example, KPI Dashboards or Analytical Designer) may have become unavailable. To address those changes, we hardcoded the SameSite=None attribute within the GoodData platform.

Some user agents are known to be incompatible with the SameSite=None attribute (for details, see SameSite=None: Known incompatible clients). If you have issues with embedded GoodData objects in Google Chrome, try the following:

For Chrome browsers Version 79, you can simulate the behavior of Version 80 that enforces the SameSite check. To do so, go to chrome://flags/ and enable the SameSite by default cookies.

For more information, see the following articles:

Embedding in Safari

Safari blocks all third-party cookies by default. GoodData relies on third-party cookies to authenticate users when its offerings are embedded in another web page. Due to the GoodData implementation, Safari views embedded GoodData dashboards as third-party cookies.

If you have issues with embedded dashboards in Safari, navigate to the dedicated resource from your site. This dedicated resource sets a special cookie named GDCCookiesFix with one year validity from the GoodData domain and redirects calls back to your site based on the Referer HTTP header.

Ensure that the dedicated resource is called only once, or the access will result in a loop.

In the example below, the dedicated resource is https://GoodData_URL/cookiesFix.html. Remember to use the required URL address for this.


<!doctype html>
<html lang="en">
		<meta charset="utf-8">
		<meta name="copyright" content="Copyright © 2008 - 2019 GoodData Corporation. All rights reserved.">
		<iframe frameborder="0" src="EMBEDDED_DASHBOARD_LINK" width="100%" height="808px" allowTransparency="false"></iframe>
		var createCookie = function(name, value, days) {
			var expires, date;
			date = new Date();
			expires = "; expires="+date.toGMTString();
			document.cookie = name+"="+value+expires+"; path=/";

		var safariFixCookie = "safari_fix";
		var is_safari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent); // safari detection
		if (is_safari) {
			if (document.cookie.indexOf(safariFixCookie) == -1) {
				createCookie(safariFixCookie, 'fixed', 365);

If this does not help, explicitly enable third-party cookies in your browser.

Enabling Cookies in Your Browser

Explicitly enable third-party cookies in your browser. For specific instructions in enabling cookies, see user documentation for your browser. Instructions may differ depending on the version of the browser and your operating system.

For more information, see Known Issue: Blocking Cookies May Make Embedded GoodData Inaccessible.

Powered by Atlassian Confluence and Scroll Viewport.