{"id":1361,"date":"2024-11-23T04:58:18","date_gmt":"2024-11-23T04:58:18","guid":{"rendered":"https:\/\/support-landing.altegio.cloud\/support\/4903418881693-setting-the-integration-with-google-analytics\/"},"modified":"2026-03-25T11:51:53","modified_gmt":"2026-03-25T11:51:53","password":"","slug":"4903418881693-setting-the-integration-with-google-analytics","status":"publish","type":"docs","link":"https:\/\/alteg.io\/en\/support\/knowledge-base\/4903418881693-setting-the-integration-with-google-analytics\/","title":{"rendered":"Setting the integration with Google Analytics"},"content":{"rendered":"\n<p><span style=\"font-weight: 400;\"><span style=\"color: #0d0d0d; font-family: S\u00f6hne, ui-sans-serif, system-ui, -apple-system, ' Segoe UI' , Roboto, Ubuntu, Cantarell, ' Noto Sans' , sans-serif, ' Helvetica Neue' , Arial, ' Apple Color Emoji' , ' Segoe UI Emoji' , ' Segoe UI Symbol' , ' Noto Color Emoji' font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: pre-wrap; background-color: #ffffff; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;\"><strong>Google Analytics<\/strong> is a free platform for collecting data from websites and applications and creating reports with information useful for your business. Before setting up the integration, it is necessary to register an account with the<\/span>\u00a0<\/span><strong><a href=\"https:\/\/analytics.google.com\/analytics\/\">Google Analytics<\/a><\/strong><span style=\"font-weight: 400;\">service.<\/span><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><span class=\"wysiwyg-font-size-large\"><strong><span style=\"color: #0d0d0d;\">Important<\/span><\/strong><\/span><\/p>\n\n\n\n<p><span style=\"color: #0d0d0d;\">\u2022 To <strong>connect\/disconnect<\/strong> the integration, the following user access rights are required:<\/span><\/p>\n\n\n\n<p><span style=\"color: #0d0d0d;\">\u2022 <strong>Settings<\/strong> section: <strong>Manage users<\/strong> \u2014 <strong>Manage user rights<\/strong> (any of the rights, both Manage all rights and within <strong>Manage all rights within your rights set<\/strong>).<\/span><\/p>\n\n\n\n<p><span style=\"color: #0d0d0d;\">\u2022 <strong>Online booking<\/strong> section (access to the section is required, activation of personal data processing is optional).<\/span><\/p>\n\n\n\n<p><span style=\"color: #0d0d0d;\">\u2022 Only one data stream can be connected to a single online booking link. To connect multiple streams, additional forms must be created.<\/span><\/p>\n\n\n\n<p><span style=\"color: #0d0d0d;\">\u2022 Starting from <strong>July 1, 2023,<\/strong> Universal Analytics version resources have been migrated to Google Analytics 4 version \u2014 <a href=\"https:\/\/support.google.com\/analytics\/answer\/11583528\" target=\"_blank\" rel=\"noopener noreferrer\">learn more<\/a>.<\/span><\/p>\n\n\n\n<p><\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h_01HR43XPGJV197HCX2HPCGW5JZ\"><span style=\"font-weight: 400;\">Google Analytics 4 version&nbsp;<\/span><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">1. In your <strong>Google Analytics<\/strong> account go to the appropriate property or application.<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">2. Go to the <strong>Administrator &gt; Data&nbsp;streams<\/strong> section<br><img decoding=\"async\" src=\"https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/12\/18063111154077-1000x454.png\"><br><\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span style=\"font-weight: 400;\">If the data stream for the required online booking form has not been created earlier, it is necessary to create a data stream. In order to do this click <strong>Web<\/strong> or <strong>Add stream<\/strong> button, then go to <strong>Web<\/strong><\/span><\/li>\n<\/ul>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69d64243862e9&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69d64243862e9\" class=\"wp-block-image wp-lightbox-container\"><img decoding=\"async\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/12\/18063111159069-1000x337.png\" alt=\"\"\/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span style=\"font-weight: 400;\">In the Web stream settings window enter the URL of the online booking widget and the name of the stream. Click the <strong>Create stream<\/strong> button.<\/span><\/li>\n<\/ul>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69d642438649f&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69d642438649f\" class=\"wp-block-image wp-lightbox-container\"><img decoding=\"async\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/12\/18063111169821-1000x503.png\" alt=\"\"\/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><span style=\"font-weight: 400;\">Copy the <strong>measurement ID<\/strong> from the <strong>Web stream details<\/strong> window. The identifier has the format <strong>G-R17JQQY1XC.<\/strong><\/span><\/li>\n<\/ul>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69d64243866e5&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69d64243866e5\" class=\"wp-block-image wp-lightbox-container\"><img decoding=\"async\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/12\/18063111177117-1000x561.png\" alt=\"\"\/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p><span style=\"font-weight: 400;\">Please note that for the <strong>Google Analytics 4<\/strong> version the identifier has the prefix G.<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"wysiwyg-font-size-large\"><strong>How to connect the integration<\/strong><\/span><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In Altegio, go to <strong>Administration <\/strong>mode, <strong>Integrations > Analytics<\/strong> section and select the <strong>Google Analytics<\/strong> application. On the page that opens, click the <strong>Connect<\/strong> button.<\/li>\n<\/ol>\n\n\n\n<p><img decoding=\"async\" src=\"https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/12\/18063111186973-1000x538.png\"><\/p>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>Add the previously copied <strong>Google Analytics<\/strong> identifier into the <strong>Data stream ID<\/strong> field in the format <strong>G-R17JQQY1XC.<\/strong><\/li>\n\n\n\n<li>Below, select from the list the <strong>form<\/strong> for online booking to which you want to connect <strong>Google Analytics.<\/strong><\/li>\n<\/ol>\n\n\n\n<p><span class=\"wysiwyg-font-size-large\"><strong><img decoding=\"async\" src=\"https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/12\/18063095313309-1000x1000.png\"><\/strong><\/span><\/p>\n\n\n\n<ol start=\"4\" class=\"wp-block-list\">\n<li>Click the <strong>Connect<\/strong> button to enable the integration.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"wysiwyg-font-size-large\"><strong>Checking the integration<\/strong><\/span><\/h2>\n\n\n\n<p>Google Analytics displays conversion after a time delay. Therefore, for a quick check of whether the forwarding is set up correctly, you can use the <strong>Realtime<\/strong> report section. Perform a target action in the online booking form on the website or on social networks and observe whether the event or conversion appears in the report.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69d6424386af9&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69d6424386af9\" class=\"wp-block-image wp-lightbox-container\"><img decoding=\"async\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/12\/18063095318045-1000x424.png\" alt=\"\"\/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><span style=\"color: #0d0d0d; font-family: S\u00f6hne, ui-sans-serif, system-ui, -apple-system, ' Segoe UI' , Roboto, Ubuntu, Cantarell, ' Noto Sans' , sans-serif, ' Helvetica Neue' , Arial, ' Apple Color Emoji' , ' Segoe UI Emoji' , ' Segoe UI Symbol' , ' Noto Color Emoji' font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: pre-wrap; background-color: #ffffff; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;\">To create goals for events whose tracking will be recorded, use the<strong> <a href=\"https:\/\/support.alteg.io\/hc\/en-us\/articles\/4903410465437-Description-of-events-for-analytics\" target=\"_blank\" rel=\"noopener noreferrer\">list of events<\/a> <\/strong>supported by the new online booking widget.<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"wysiwyg-font-size-large\"><strong><span style=\"color: #0d0d0d;\">\u0415diting or deleting a data stream<\/span><\/strong><\/span><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><span style=\"color: #0d0d0d;\">Go to <strong>Administration <\/strong>mode, in the <strong>Integrations > Analytics<\/strong> section, select the &#8220;<strong>Google Analytics<\/strong>&#8221; application, and open the <strong>Settings<\/strong> tab.<\/span><\/li>\n\n\n\n<li><span style=\"color: #0d0d0d;\">To add a new identifier, click the <strong>Add a stream<\/strong> button, enter the new data stream identifier, and select the form you want to connect to Google Analytics.<\/span><\/li>\n\n\n\n<li><span style=\"color: #0d0d0d;\">To edit a previously added identifier, click on the pencil icon next to the stream, change the information, and click <strong>Save<\/strong>.<\/span><\/li>\n<\/ol>\n\n\n\n<p><span style=\"color: #0d0d0d;\"><br><img decoding=\"async\" src=\"https:\/\/alteg.io\/support\/wp-content\/uploads\/2024\/12\/18063095252637-1000x440.png\"><br><\/span><\/p>\n\n\n\n<p><span style=\"color: #0d0d0d;\">To delete a previously added identifier, click on the <strong>trash can icon<\/strong> next to the stream. Click <strong>Delete stream<\/strong>; the information will be removed from Altegio but will remain in Google Analytics.<\/span><\/p>\n\n\n\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google Analytics is a free platform for collecting data from websites and applications and creating reports with information useful for your business. Before setting up the integration, it is necessary to register an account with the\u00a0Google Analyticsservice. Important \u2022 To connect\/disconnect the integration, the following user access rights are required: \u2022 Settings section: Manage users&hellip; <a class=\"more-link\" href=\"https:\/\/alteg.io\/en\/support\/knowledge-base\/4903418881693-setting-the-integration-with-google-analytics\/\">Continue reading <span class=\"screen-reader-text\">Setting the integration with Google Analytics<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[66],"doc_tag":[1789,2071,1609],"class_list":["post-1361","docs","type-docs","status-publish","hentry","doc_category-new-online-booking-widget","doc_tag-analytics-en","doc_tag-integrations-en","doc_tag-online-booking-en","entry"],"aioseo_notices":[],"year_month":"2026-04","word_count":510,"total_views":"971","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"ivan.k","author_nicename":"altegio","author_url":"https:\/\/alteg.io\/en\/author\/altegio\/"},"doc_category_info":[{"term_name":"New online booking widget","term_url":"https:\/\/alteg.io\/en\/support\/knowledge-base\/categories\/new-online-booking-widget\/"}],"doc_tag_info":[{"term_name":"Analytics","term_url":"https:\/\/alteg.io\/en\/support\/knowledge-base\/docs-tag\/analytics-en\/"},{"term_name":"Integrations","term_url":"https:\/\/alteg.io\/en\/support\/knowledge-base\/docs-tag\/integrations-en\/"},{"term_name":"Online Booking","term_url":"https:\/\/alteg.io\/en\/support\/knowledge-base\/docs-tag\/online-booking-en\/"}],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/docs\/1361","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/comments?post=1361"}],"version-history":[{"count":3,"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/docs\/1361\/revisions"}],"predecessor-version":[{"id":310504,"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/docs\/1361\/revisions\/310504"}],"wp:attachment":[{"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/media?parent=1361"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/doc_category?post=1361"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/alteg.io\/en\/support\/wp-json\/wp\/v2\/doc_tag?post=1361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}