{"id":6137,"date":"2021-07-21T10:42:23","date_gmt":"2021-07-21T09:42:23","guid":{"rendered":"https:\/\/www.snapsurveys.com\/support-snapxmp\/?post_type=epkb_post_type_1&#038;p=6137"},"modified":"2022-01-13T17:21:22","modified_gmt":"2022-01-13T17:21:22","slug":"adding-google-analytics-survey","status":"publish","type":"epkb_post_type_1","link":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/adding-google-analytics-survey\/","title":{"rendered":"Adding Google Analytics to your survey"},"content":{"rendered":"\n<p>\n  Google Analytics is a web service provided by Google that provides tools to help track and report on your website traffic.\n<\/p>\n\n\n\n<p>\n  This tutorial describes how to connect your survey to Google\u2019s Analytics service. Please note that this tutorial assumes that you already have a Google Analytics account set up, and have an online survey that has already been created and added to your Snap Online account. \n<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1: Create a new property in Google Analytics <\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>   Login to your Google Analytics account <\/li><li>   Click <strong>Admin<\/strong> and create a new property <\/li><li>   Fill in the details and click <strong>OK<\/strong> <\/li><li>   Add a <strong>Web<\/strong> data stream <\/li><li>   Enter the URL for the survey, this can be found by doing the following: <ul><li>Login to your Snap Online account   <\/li><li>Click on the survey to open the <strong>Summary<\/strong> page   <\/li><li>Select the <strong>Collect<\/strong> tab   <\/li><li>Publish the survey, if it has not already been published online   <\/li><li>Click Copy to clipboard to copy the survey URL and paste. Please note that the survey URL should not be changed after this.   <\/li><\/ul><\/li><li> Enter a name for the data stream <\/li><li>   Select your measurements  <\/li><li>   Click <strong>Create Stream<\/strong> <\/li><li>   This creates a <strong>Global Site Tag<\/strong> that can be added to your survey <\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Adding the Global Site Tag to your survey<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>\n  In Survey Overview select the online mode \n  <img decoding=\"async\" width=\"25\" height=\"25\" src=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/07\/5-onlinesurveysicon-png.png\" class=\"wp-image-6138\" alt=\"5.OnlineSurveysIcon.png\">\n   and open the online survey.\n<\/li><li>\n  The Global Site Tag needs to be inserted into a visible variable at the very top of the survey. We recommend using the <strong>Title<\/strong> variable. If it is not at the top click on it to select it then hold down CTRL on your keyboard and press the up arrow to move it to the top. Alternatively you could create a new <strong>Instruction<\/strong> style variable at the top of the survey. \n<\/li><li>\n  Click the variable then select <strong>Insert<\/strong> and <strong>HTML Field<\/strong>. This opens the New HTML Field dialog.\n<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img fetchpriority=\"high\" decoding=\"async\" width=\"794\" height=\"194\" src=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/07\/word-image.png\" alt=\"\" class=\"wp-image-6139\" srcset=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/07\/word-image.png 794w, https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/07\/word-image-300x73.png 300w, https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/07\/word-image-768x188.png 768w\" sizes=\"(max-width: 794px) 100vw, 794px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\"><li>\n  In the New HTML Field dialog, select <strong>Custom HTML<\/strong> then paste the Global Site Tag from step 1 into the <strong>HTML<\/strong> text box:\n<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"311\" height=\"340\" src=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/07\/globalsitetaghtml-png.png\" alt=\"GlobalSiteTagHTML.png\" class=\"wp-image-6140\" srcset=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/07\/globalsitetaghtml-png.png 311w, https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/07\/globalsitetaghtml-png-274x300.png 274w\" sizes=\"(max-width: 311px) 100vw, 311px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"5\"><li>\n  Click <strong>OK<\/strong> \n<\/li><li>\n  The HTML code is displayed in your Title, as shown below. Please note that this code will not be visible to participants.\n<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"330\" height=\"71\" src=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/07\/word-image-1.png\" alt=\"\" class=\"wp-image-6141\" srcset=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/07\/word-image-1.png 330w, https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/07\/word-image-1-300x65.png 300w\" sizes=\"(max-width: 330px) 100vw, 330px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"7\"><li>\n  Click <strong>Save<\/strong> \n  <img loading=\"lazy\" decoding=\"async\" width=\"26\" height=\"26\" src=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/07\/saveicon-png.png\" class=\"wp-image-6142\" alt=\"SaveIcon.png\">\n  to save the changes.\n<\/li><li>\n  Click Upload \n  <img loading=\"lazy\" decoding=\"async\" width=\"26\" height=\"26\" src=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/07\/uploadicon-png.png\" class=\"wp-image-6143\" alt=\"UploadIcon.png\">\n   to pass the changes to the survey in Snap Online. \n<\/li><li>\n  Open the survey in Snap Online\n<\/li><li>\n  Click into the <strong>Collect<\/strong> tab \n<\/li><li>\n  Publish the latest version. If the survey is live you will need to pause interviewing first to do this.\n<\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"204\" height=\"45\" src=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/07\/word-image-2.png\" alt=\"\" class=\"wp-image-6144\"\/><\/figure>\n\n\n\n<ol class=\"wp-block-list\" start=\"12\"><li>\n  Use the live survey link to start the survey and submit a test. The preview will not work\n<\/li><li>\n  Check your Google Analytics account to see if it has registered. Please note that it might take a few minutes to update.\n<\/li><\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Google Analytics is a web service provided by Google that provides tools to help track and report on your website traffic. This tutorial describes how to connect your survey to Google\u2019s Analytics service. Please note that this tutorial assumes that you already have a Google Analytics account set up, and have an online survey that [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"epkb_post_type_1_category":[81],"epkb_post_type_1_tag":[],"class_list":["post-6137","epkb_post_type_1","type-epkb_post_type_1","status-publish","hentry","epkb_post_type_1_category-how-to-tutorials-snap-desktop-publish"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Adding Google Analytics to your survey | SnapSurveys<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/adding-google-analytics-survey\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Adding Google Analytics to your survey | SnapSurveys\" \/>\n<meta property=\"og:description\" content=\"Google Analytics is a web service provided by Google that provides tools to help track and report on your website traffic. This tutorial describes how to connect your survey to Google\u2019s Analytics service. Please note that this tutorial assumes that you already have a Google Analytics account set up, and have an online survey that [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/adding-google-analytics-survey\/\" \/>\n<meta property=\"og:site_name\" content=\"SnapSurveys\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/snapsurveys\" \/>\n<meta property=\"article:modified_time\" content=\"2022-01-13T17:21:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/07\/5-onlinesurveysicon-png.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@snapsurveys\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/adding-google-analytics-survey\/\",\"url\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/adding-google-analytics-survey\/\",\"name\":\"Adding Google Analytics to your survey | SnapSurveys\",\"isPartOf\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/adding-google-analytics-survey\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/adding-google-analytics-survey\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/07\/5-onlinesurveysicon-png.png\",\"datePublished\":\"2021-07-21T09:42:23+00:00\",\"dateModified\":\"2022-01-13T17:21:22+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/adding-google-analytics-survey\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/adding-google-analytics-survey\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/adding-google-analytics-survey\/#primaryimage\",\"url\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/07\/5-onlinesurveysicon-png.png\",\"contentUrl\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/07\/5-onlinesurveysicon-png.png\",\"width\":25,\"height\":25,\"caption\":\"5.OnlineSurveysIcon.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/adding-google-analytics-survey\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Snap XMP Support\",\"item\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp-archive\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Adding Google Analytics to your survey\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/#website\",\"url\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/\",\"name\":\"Snap XMP Support Hub\",\"description\":\"Support documentation for Snap Surveys products\",\"publisher\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/#organization\",\"name\":\"Snap Surveys\",\"url\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2020\/06\/snap-surveys-logo-fc.svg\",\"contentUrl\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2020\/06\/snap-surveys-logo-fc.svg\",\"width\":867,\"height\":159,\"caption\":\"Snap Surveys\"},\"image\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snapxmp\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/snapsurveys\",\"https:\/\/x.com\/snapsurveys\",\"https:\/\/www.linkedin.com\/company\/snapsurveys\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Adding Google Analytics to your survey | SnapSurveys","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/adding-google-analytics-survey\/","og_locale":"en_GB","og_type":"article","og_title":"Adding Google Analytics to your survey | SnapSurveys","og_description":"Google Analytics is a web service provided by Google that provides tools to help track and report on your website traffic. This tutorial describes how to connect your survey to Google\u2019s Analytics service. Please note that this tutorial assumes that you already have a Google Analytics account set up, and have an online survey that [&hellip;]","og_url":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/adding-google-analytics-survey\/","og_site_name":"SnapSurveys","article_publisher":"https:\/\/www.facebook.com\/snapsurveys","article_modified_time":"2022-01-13T17:21:22+00:00","og_image":[{"url":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/07\/5-onlinesurveysicon-png.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_site":"@snapsurveys","twitter_misc":{"Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/adding-google-analytics-survey\/","url":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/adding-google-analytics-survey\/","name":"Adding Google Analytics to your survey | SnapSurveys","isPartOf":{"@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/adding-google-analytics-survey\/#primaryimage"},"image":{"@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/adding-google-analytics-survey\/#primaryimage"},"thumbnailUrl":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/07\/5-onlinesurveysicon-png.png","datePublished":"2021-07-21T09:42:23+00:00","dateModified":"2022-01-13T17:21:22+00:00","breadcrumb":{"@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/adding-google-analytics-survey\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/adding-google-analytics-survey\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/adding-google-analytics-survey\/#primaryimage","url":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/07\/5-onlinesurveysicon-png.png","contentUrl":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2021\/07\/5-onlinesurveysicon-png.png","width":25,"height":25,"caption":"5.OnlineSurveysIcon.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp\/adding-google-analytics-survey\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.snapsurveys.com\/support-snapxmp\/"},{"@type":"ListItem","position":2,"name":"Snap XMP Support","item":"https:\/\/www.snapsurveys.com\/support-snapxmp\/snapxmp-archive\/"},{"@type":"ListItem","position":3,"name":"Adding Google Analytics to your survey"}]},{"@type":"WebSite","@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/#website","url":"https:\/\/www.snapsurveys.com\/support-snapxmp\/","name":"Snap XMP Support Hub","description":"Support documentation for Snap Surveys products","publisher":{"@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.snapsurveys.com\/support-snapxmp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/#organization","name":"Snap Surveys","url":"https:\/\/www.snapsurveys.com\/support-snapxmp\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/#\/schema\/logo\/image\/","url":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2020\/06\/snap-surveys-logo-fc.svg","contentUrl":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-content\/uploads\/2020\/06\/snap-surveys-logo-fc.svg","width":867,"height":159,"caption":"Snap Surveys"},"image":{"@id":"https:\/\/www.snapsurveys.com\/support-snapxmp\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/snapsurveys","https:\/\/x.com\/snapsurveys","https:\/\/www.linkedin.com\/company\/snapsurveys"]}]}},"_links":{"self":[{"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/epkb_post_type_1\/6137","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/epkb_post_type_1"}],"about":[{"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/types\/epkb_post_type_1"}],"author":[{"embeddable":true,"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/comments?post=6137"}],"version-history":[{"count":2,"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/epkb_post_type_1\/6137\/revisions"}],"predecessor-version":[{"id":6365,"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/epkb_post_type_1\/6137\/revisions\/6365"}],"wp:attachment":[{"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/media?parent=6137"}],"wp:term":[{"taxonomy":"epkb_post_type_1_category","embeddable":true,"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/epkb_post_type_1_category?post=6137"},{"taxonomy":"epkb_post_type_1_tag","embeddable":true,"href":"https:\/\/www.snapsurveys.com\/support-snapxmp\/wp-json\/wp\/v2\/epkb_post_type_1_tag?post=6137"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}