{
    "componentChunkName": "component---node-modules-rocketseat-gatsby-theme-docs-core-src-templates-docs-query-js",
    "path": "/docs/destinations/testing-and-personalization/google-optimize/",
    "result": {"data":{"mdx":{"id":"fd992b32-cbed-53cc-8949-fea022f88060","excerpt":"Google Optimize Google Optimize  is Google's free website optimization tool that lets you run different website tests to tailor personalized user experiences…","fields":{"slug":"/docs/destinations/testing-and-personalization/google-optimize/"},"frontmatter":{"title":"Google Optimize","description":"Step-by-step guide to send your event data from RudderStack to Google Optimize.","image":null,"disableTableOfContents":null},"body":"var _excluded = [\"components\"];\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\n/* @jsxRuntime classic */\n\n/* @jsx mdx */\nvar _frontmatter = {\n  \"title\": \"Google Optimize\",\n  \"description\": \"Step-by-step guide to send your event data from RudderStack to Google Optimize.\"\n};\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n      props = _objectWithoutProperties(_ref, _excluded);\n\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"h1\", {\n    \"id\": \"google-optimize\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h1\",\n    \"href\": \"#google-optimize\",\n    \"aria-label\": \"google optimize permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Google Optimize\"), mdx(\"p\", null, mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://marketingplatform.google.com/about/optimize/\"\n  }, mdx(\"strong\", {\n    parentName: \"a\"\n  }, \"Google Optimize\")), \" is Google's free website optimization tool that lets you run different website tests to tailor personalized user experiences and increase your conversion rate.\"), mdx(\"p\", null, \"RudderStack supports Google Optimize as a destination to which you can seamlessly send your website data for efficient A/B testing.\"), mdx(\"div\", {\n    className: \"successBlock\"\n  }, \"Once you add Google Optimize as a destination in RudderStack, RudderStack loads the \", mdx(\"a\", {\n    href: \"https://support.google.com/optimize/answer/7513085\"\n  }, \"Optimize snippet\"), \" on your website. Then, it loads the Google Analytics snippet(if not already present). This snippet natively measures all the Optimize experiments and then sends the data to Optimize for creating the reports.\"), mdx(\"h2\", {\n    \"id\": \"getting-started\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h2\",\n    \"href\": \"#getting-started\",\n    \"aria-label\": \"getting started permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Getting started\"), mdx(\"p\", null, \"Before configuring Google Optimize as a destination in RudderStack, verify if the source platform is supported by Google Optimize by referring to the table below:\"), mdx(\"table\", null, mdx(\"thead\", {\n    parentName: \"table\"\n  }, mdx(\"tr\", {\n    parentName: \"thead\"\n  }, mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, \"Connection Mode\"), mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, \"Web\"), mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, \"Mobile\"), mdx(\"th\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, \"Server\"))), mdx(\"tbody\", {\n    parentName: \"table\"\n  }, mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, mdx(\"strong\", {\n    parentName: \"td\"\n  }, \"Device mode\")), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, mdx(\"strong\", {\n    parentName: \"td\"\n  }, \"Supported\")), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, \"-\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, \"-\")), mdx(\"tr\", {\n    parentName: \"tbody\"\n  }, mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, mdx(\"strong\", {\n    parentName: \"td\"\n  }, \"Cloud mode\")), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, \"-\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, \"-\"), mdx(\"td\", {\n    parentName: \"tr\",\n    \"align\": \"left\"\n  }, \"-\")))), mdx(\"div\", {\n    className: \"infoBlock\"\n  }, \"To know more about the difference between cloud mode and device mode in RudderStack, refer to the \", mdx(\"a\", {\n    href: \"https://rudderstack.com/docs/connections/rudderstack-connection-modes/\"\n  }, \"RudderStack connection modes\"), \" guide.\"), mdx(\"p\", null, \"Once you have confirmed that your source platform supports sending events to Google Optimize, follow these steps:\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"From your \", mdx(\"a\", {\n    parentName: \"li\",\n    \"href\": \"https://app.rudderstack.com/\"\n  }, mdx(\"strong\", {\n    parentName: \"a\"\n  }, \"RudderStack dashboard\")), \", add the source. From the list of destinations, select \", mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Google Optimize\"), \".\")), mdx(\"div\", {\n    className: \"infoBlock\"\n  }, \"Follow our guide on \", mdx(\"a\", {\n    href: \"https://rudderstack.com/docs/connections/adding-source-and-destination-rudderstack/\"\n  }, \"Adding a Source and Destination in RudderStack\"), \" for more information.\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"Assign a name to the destination and click on \", mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Next\"), \". You should then see the following screen:\")), mdx(\"span\", {\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"960px\"\n    }\n  }, \"\\n      \", mdx(\"span\", {\n    parentName: \"span\",\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"129.58333333333334%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/webp;base64,UklGRqwAAABXRUJQVlA4IKAAAACQBACdASoUABoAPjEWiEMiIQoDVBABglnAL9rMW/+AeZMu1R7NSF4LHRDu1oAA/v+3QujOaREowP7QqaO/sUGCcLfY/PAZt5hPDLrOkcRRp0FBsnat9mNGT3lgAkqisQzpC7la4rK+B6oiepYUowz0BBWHu0+XF6luJFqy/VWqeHJXijC9K+N53tPukIgCFc+rtIE/R6cbE7je0UFHAAAA')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  }), \"\\n  \", mdx(\"picture\", {\n    parentName: \"span\"\n  }, \"\\n          \", mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/828edcffc8f79adb499b0f0838efa408/cbea2/google-optimize-connection-settings-1.webp 240w\", \"/static/828edcffc8f79adb499b0f0838efa408/42669/google-optimize-connection-settings-1.webp 480w\", \"/static/828edcffc8f79adb499b0f0838efa408/10c02/google-optimize-connection-settings-1.webp 960w\", \"/static/828edcffc8f79adb499b0f0838efa408/fead5/google-optimize-connection-settings-1.webp 1440w\", \"/static/828edcffc8f79adb499b0f0838efa408/d5fa6/google-optimize-connection-settings-1.webp 1518w\"],\n    \"sizes\": \"(max-width: 960px) 100vw, 960px\",\n    \"type\": \"image/webp\"\n  }), \"\\n          \", mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/828edcffc8f79adb499b0f0838efa408/5243c/google-optimize-connection-settings-1.png 240w\", \"/static/828edcffc8f79adb499b0f0838efa408/ab158/google-optimize-connection-settings-1.png 480w\", \"/static/828edcffc8f79adb499b0f0838efa408/7d769/google-optimize-connection-settings-1.png 960w\", \"/static/828edcffc8f79adb499b0f0838efa408/87339/google-optimize-connection-settings-1.png 1440w\", \"/static/828edcffc8f79adb499b0f0838efa408/b998a/google-optimize-connection-settings-1.png 1518w\"],\n    \"sizes\": \"(max-width: 960px) 100vw, 960px\",\n    \"type\": \"image/png\"\n  }), \"\\n          \", mdx(\"img\", {\n    parentName: \"picture\",\n    \"className\": \"gatsby-resp-image-image\",\n    \"src\": \"/static/828edcffc8f79adb499b0f0838efa408/7d769/google-optimize-connection-settings-1.png\",\n    \"alt\": \"Google Optimize connection settings\",\n    \"title\": \"Google Optimize connection settings\",\n    \"loading\": \"lazy\",\n    \"decoding\": \"async\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    }\n  }), \"\\n        \"), \"\\n    \"), mdx(\"h3\", {\n    \"id\": \"connection-settings\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h3\",\n    \"href\": \"#connection-settings\",\n    \"aria-label\": \"connection settings permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Connection settings\"), mdx(\"p\", null, \"The connection settings required to configure Google Optimize as a destination in RudderStack are listed below:\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Load Google Analytics\"), \": Enable this setting \", mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"only if\"), \" Google Analytics is not installed on your website already. \")), mdx(\"div\", {\n    className: \"infoBlock\"\n  }, \"Disable this setting if you have already configured \", mdx(\"a\", {\n    href: \"https://rudderstack.com/docs/destinations/analytics/google-analytics-4/\"\n  }, \"Google Analytics 4\"), \" as a destination in RudderStack, or already installed the \", mdx(\"a\", {\n    href: \"https://support.google.com/optimize/answer/9183119#zippy=%2Cexample-global-site-tag-with-google-analytics\"\n  }, \"global site tag\"), \" on your website.\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Tracking ID\"), \": If you have enabled the \", mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Load Google Analytics\"), \" option, enter the corresponding tracking ID here.\")), mdx(\"div\", {\n    className: \"infoBlock\"\n  }, \"For more information on finding the Google Analytics tracking ID, refer to the \", mdx(\"a\", {\n    href: \"https://rudderstack.com/docs/destination/testing-and-personalization/google-optimize/#faqs\"\n  }, \"FAQs\"), \" section below.\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Container ID\"), \": Enter your Google Optimize container ID here. \")), mdx(\"div\", {\n    className: \"infoBlock\"\n  }, \"You can find the Container ID by going to the \", mdx(\"strong\", null, \"User Settings\"), \" option in your \", mdx(\"a\", {\n    href: \"https://optimize.google.com/optimize/home/#/accounts\"\n  }, \"Google Optimize dashboard\"), \".\"), mdx(\"span\", {\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"960px\"\n    }\n  }, \"\\n      \", mdx(\"span\", {\n    parentName: \"span\",\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"30%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/webp;base64,UklGRmwAAABXRUJQVlA4IGAAAACwAwCdASoUAAYAPjEUiEKiISEYBAAgAwSzgBigAD5/0G8cMUDAAAD+/5vGGgCFR2RolAE95yjItbnfxbjGZ/Z+7y4gTcS/xw/83H8RclLVtnn3Bxn0/5YfZo8U3vDAAAA=')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  }), \"\\n  \", mdx(\"picture\", {\n    parentName: \"span\"\n  }, \"\\n          \", mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/7d87069691a98ace6f04f4554b10a726/cbea2/google-optimize-container-id.webp 240w\", \"/static/7d87069691a98ace6f04f4554b10a726/42669/google-optimize-container-id.webp 480w\", \"/static/7d87069691a98ace6f04f4554b10a726/10c02/google-optimize-container-id.webp 960w\", \"/static/7d87069691a98ace6f04f4554b10a726/0f26b/google-optimize-container-id.webp 1228w\"],\n    \"sizes\": \"(max-width: 960px) 100vw, 960px\",\n    \"type\": \"image/webp\"\n  }), \"\\n          \", mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/7d87069691a98ace6f04f4554b10a726/5243c/google-optimize-container-id.png 240w\", \"/static/7d87069691a98ace6f04f4554b10a726/ab158/google-optimize-container-id.png 480w\", \"/static/7d87069691a98ace6f04f4554b10a726/7d769/google-optimize-container-id.png 960w\", \"/static/7d87069691a98ace6f04f4554b10a726/0f3cc/google-optimize-container-id.png 1228w\"],\n    \"sizes\": \"(max-width: 960px) 100vw, 960px\",\n    \"type\": \"image/png\"\n  }), \"\\n          \", mdx(\"img\", {\n    parentName: \"picture\",\n    \"className\": \"gatsby-resp-image-image\",\n    \"src\": \"/static/7d87069691a98ace6f04f4554b10a726/7d769/google-optimize-container-id.png\",\n    \"alt\": \"Google Optimize container ID\",\n    \"title\": \"Google Optimize container ID\",\n    \"loading\": \"lazy\",\n    \"decoding\": \"async\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    }\n  }), \"\\n        \"), \"\\n    \"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Async mode\"), \": Enable this setting to use the asynchronous version of Google Optimize.\")), mdx(\"div\", {\n    className: \"successBlock\"\n  }, \"We recommend enabling this setting if you want your pages to load faster and if your target visitors are likely to be on slow connections (3G or slower). However, for experimentation purposes, this setting should be \", mdx(\"strong\", null, \"disabled\"), \".\"), mdx(\"div\", {\n    className: \"infoBlock\"\n  }, \"Refer to this \", mdx(\"a\", {\n    href: \"https://support.google.com/optimize/answer/7513085?hl=en&ref_topic=6197443\"\n  }, \"Optimize support page\"), \" to know more about the differences between the synchronous and asynchronous versions of Google Optimize.\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Anti-flicker snippet\"), \": Enable this setting to install the anti-flicker snippet. \")), mdx(\"div\", {\n    className: \"warningBlock\"\n  }, \"Enabling this setting can impact page performance. Refer to this \", mdx(\"a\", {\n    href: \"https://support.google.com/optimize/answer/7100284\"\n  }, \"support page\"), \" for more information on the anti-flicker snippet.\"), mdx(\"ul\", null, mdx(\"li\", {\n    parentName: \"ul\"\n  }, \"As this destination supports sending events only via the web device mode, the \", mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Use device mode to send events\"), \" option will be always enabled.\")), mdx(\"p\", null, \"Finally, click on \", mdx(\"strong\", {\n    parentName: \"p\"\n  }, \"Next\"), \" to complete the setup. Google Optimize will now be enabled as a destination in RudderStack.\"), mdx(\"h2\", {\n    \"id\": \"faqs\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h2\",\n    \"href\": \"#faqs\",\n    \"aria-label\": \"faqs permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"FAQs\"), mdx(\"h3\", {\n    \"id\": \"where-do-i-get-the-google-analytics-tracking-id\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h3\",\n    \"href\": \"#where-do-i-get-the-google-analytics-tracking-id\",\n    \"aria-label\": \"where do i get the google analytics tracking id permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Where do I get the Google Analytics tracking ID?\"), mdx(\"p\", null, \"To get the Google Analytics tracking ID, follow these steps:\"), mdx(\"ol\", null, mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"Go to the \", mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Admin\"), \" section of your \", mdx(\"a\", {\n    parentName: \"li\",\n    \"href\": \"https://analytics.google.com/analytics/web/#/\"\n  }, mdx(\"strong\", {\n    parentName: \"a\"\n  }, \"Google Analytics account\")), \" in the bottom left corner.\"), mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"Then, select an account in the \", mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Account\"), \" column, followed by a property in the \", mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Property\"), \" column.\"), mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"Under \", mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Property\"), \", click on \", mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Tracking Info\"), \" - \", mdx(\"strong\", {\n    parentName: \"li\"\n  }, \"Tracking Code\"), \". Your tracking ID will be displayed at the top of the resulting page.\")), mdx(\"span\", {\n    \"className\": \"gatsby-resp-image-wrapper\",\n    \"style\": {\n      \"position\": \"relative\",\n      \"display\": \"block\",\n      \"marginLeft\": \"auto\",\n      \"marginRight\": \"auto\",\n      \"maxWidth\": \"960px\"\n    }\n  }, \"\\n      \", mdx(\"span\", {\n    parentName: \"span\",\n    \"className\": \"gatsby-resp-image-background-image\",\n    \"style\": {\n      \"paddingBottom\": \"54.166666666666664%\",\n      \"position\": \"relative\",\n      \"bottom\": \"0\",\n      \"left\": \"0\",\n      \"backgroundImage\": \"url('data:image/webp;base64,UklGRm4AAABXRUJQVlA4IGIAAADQAwCdASoUAAsAPjEUiEKiISEYBAAgAwS0gAAt9/8ckruI73myYAAA/v+QP20A8H2YnnuH9/Z57SezlV2NrudnMruydxx2lPON6LSBhhIZbdkSMIrGCY9sd2pQDFwgwHwAAA==')\",\n      \"backgroundSize\": \"cover\",\n      \"display\": \"block\"\n    }\n  }), \"\\n  \", mdx(\"picture\", {\n    parentName: \"span\"\n  }, \"\\n          \", mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/fb4101a934d4c1184c0530ab46fffe21/cbea2/google-optimize-ga-tracking-id.webp 240w\", \"/static/fb4101a934d4c1184c0530ab46fffe21/42669/google-optimize-ga-tracking-id.webp 480w\", \"/static/fb4101a934d4c1184c0530ab46fffe21/10c02/google-optimize-ga-tracking-id.webp 960w\", \"/static/fb4101a934d4c1184c0530ab46fffe21/0e44e/google-optimize-ga-tracking-id.webp 1159w\"],\n    \"sizes\": \"(max-width: 960px) 100vw, 960px\",\n    \"type\": \"image/webp\"\n  }), \"\\n          \", mdx(\"source\", {\n    parentName: \"picture\",\n    \"srcSet\": [\"/static/fb4101a934d4c1184c0530ab46fffe21/5243c/google-optimize-ga-tracking-id.png 240w\", \"/static/fb4101a934d4c1184c0530ab46fffe21/ab158/google-optimize-ga-tracking-id.png 480w\", \"/static/fb4101a934d4c1184c0530ab46fffe21/7d769/google-optimize-ga-tracking-id.png 960w\", \"/static/fb4101a934d4c1184c0530ab46fffe21/55ab0/google-optimize-ga-tracking-id.png 1159w\"],\n    \"sizes\": \"(max-width: 960px) 100vw, 960px\",\n    \"type\": \"image/png\"\n  }), \"\\n          \", mdx(\"img\", {\n    parentName: \"picture\",\n    \"className\": \"gatsby-resp-image-image\",\n    \"src\": \"/static/fb4101a934d4c1184c0530ab46fffe21/7d769/google-optimize-ga-tracking-id.png\",\n    \"alt\": \"Google Analytics tracking ID\",\n    \"title\": \"Google Analytics tracking ID\",\n    \"loading\": \"lazy\",\n    \"decoding\": \"async\",\n    \"style\": {\n      \"width\": \"100%\",\n      \"height\": \"100%\",\n      \"margin\": \"0\",\n      \"verticalAlign\": \"middle\",\n      \"position\": \"absolute\",\n      \"top\": \"0\",\n      \"left\": \"0\"\n    }\n  }), \"\\n        \"), \"\\n    \"), mdx(\"h3\", {\n    \"id\": \"how-do-i-link-google-optimize-with-google-analytics\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h3\",\n    \"href\": \"#how-do-i-link-google-optimize-with-google-analytics\",\n    \"aria-label\": \"how do i link google optimize with google analytics permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"How do I link Google Optimize with Google Analytics?\"), mdx(\"p\", null, \"To link your Google Optimize container to a Google Analytics property or view, refer to this \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://support.google.com/optimize/answer/7008374?hl=en&ref_topic=7310368\"\n  }, mdx(\"strong\", {\n    parentName: \"a\"\n  }, \"support page\")), \".\"), mdx(\"h2\", {\n    \"id\": \"contact-us\",\n    \"style\": {\n      \"position\": \"relative\"\n    }\n  }, mdx(\"a\", {\n    parentName: \"h2\",\n    \"href\": \"#contact-us\",\n    \"aria-label\": \"contact us permalink\",\n    \"className\": \"anchor before\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"focusable\": \"false\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Contact us\"), mdx(\"p\", null, \"If you come across any issues while configuring or using Google Optimize with RudderStack, you can \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"mailto:%20docs@rudderstack.com\"\n  }, mdx(\"strong\", {\n    parentName: \"a\"\n  }, \"contact us\")), \" or start a conversation in our \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://rudderstack.com/join-rudderstack-slack-community\"\n  }, mdx(\"strong\", {\n    parentName: \"a\"\n  }, \"Slack\")), \" community.\"));\n}\n;\nMDXContent.isMDXComponent = true;","headings":[{"depth":1,"value":"Google Optimize"},{"depth":2,"value":"Getting started"},{"depth":3,"value":"Connection settings"},{"depth":2,"value":"FAQs"},{"depth":3,"value":"Where do I get the Google Analytics tracking ID?"},{"depth":3,"value":"How do I link Google Optimize with Google Analytics?"},{"depth":2,"value":"Contact us"}]}},"pageContext":{"slug":"/docs/destinations/testing-and-personalization/google-optimize/","next":{"label":"Home","link":"/docs/home"},"repositoryEditUrl":"","repositoryProvider":""}},
    "staticQueryHashes": ["2501019404"]}