{"id":476,"date":"2025-04-16T08:29:32","date_gmt":"2025-04-16T08:29:51","guid":{"rendered":"http:\/\/localhost:8091\/?page_id=476"},"modified":"2026-01-19T08:01:37","modified_gmt":"2026-01-19T08:01:37","slug":"installing-the-uxtweak-snippet","status":"publish","type":"page","link":"https:\/\/www.uxtweak.com\/help\/installing-the-uxtweak-snippet\/","title":{"rendered":"Installing the UXtweak snippet"},"content":{"rendered":"\n<p class=\"text-block\">Some UXtweak tools require the installation of the UXtweak snippet into your website or your prototype. This snippet provides features such as data recording or displaying tool-specific information to respondents and visitors. The following tools require the UXtweak snippet:<\/p>\n\n\n\n<ul class=\"bullet-list\">\n<li>Website Testing (also available without snippet installation by using the UXtweak Chrome extension; see <a href=\"\/help\/website-testing-setup\/launching-a-website-testing-study\/\" data-type=\"page\" data-id=\"2461\">Launching a Website Testing study<\/a> for more information)<\/li>\n\n\n\n<li>Session Recording<\/li>\n\n\n\n<li>Recruiting Widget<\/li>\n<\/ul>\n\n\n\n<p class=\"text-block\">This section covers how to:<\/p>\n\n\n\n<ul class=\"bullet-list\">\n<li>Install your UXtweak snippet manually<\/li>\n\n\n\n<li>Setup with Google Tag Manager<\/li>\n<\/ul>\n\n\n<h2 id=\"install-your-uxtweak-snippet-manually\" class=\"heading-block\" tabindex=\"0\">Install your UXtweak snippet manually<a class=\"copy-link\" title=\"Copy link\" data-id=\"install-your-uxtweak-snippet-manually\">&nbsp;<img decoding=\"async\" src=\"https:\/\/help.uxtweak.com\/wp-content\/themes\/uxtweak\/public\/assets\/images\/icons\/link.svg\" alt=\"Copy link\" \/><\/a><\/h2>\n\n\n<p class=\"text-block\">You can find your UXtweak snippet by clicking&nbsp;<strong>My snippet<\/strong> in the dropdown next to your avatar in the upper right corner. In studies that require the snippet, you will also be asked to install the snippet when launching the study.<\/p>\n\n\n\n<ul class=\"bullet-list\">\n<li>The snippet is a piece of JavaScript tied to the team owner\u2019s account. This means that all members of the same team share the same UXtweak snippet as long as they\u2019re working in teams that belong to the same owner.<\/li>\n\n\n\n<li>A website can only have one UXtweak snippet installed at a time.<\/li>\n\n\n\n<li>Please make sure to place the snippet in the &lt;head&gt; of&nbsp;<strong>every page where you wish to use UXtweak<\/strong>&nbsp;(Session Recording, Website Testing, recruiting via the Recruiting Widget). You can control the specific pages each study applies to within the study itself.<\/li>\n<\/ul>\n\n\n\n<div class=\"image-block\">    <div class=\"image-instance\">\n                    <img decoding=\"async\" class=\"image\" src=\"https:\/\/help.uxtweak.com\/wp-content\/uploads\/2025\/04\/image-9.png\" alt=\"Snippet installation\" \/>\n                <div class=\"right-container\">\n            <div class=\"text\">\n                                    <h4>Snippet installation<\/h4>\n                                                    <p>To use UXtweak tools on your website, simply copy and paste the HTML snippet into the &lt;head&gt; elements of all pages where you wish to use the tools.<\/p>\n                            <\/div>\n            <div class=\"links\">\n\n            <\/div>\n        <\/div>\n    <\/div>\n    <\/div>\n\n\n<h2 id=\"setup-with-google-tag-manager\" class=\"heading-block\" tabindex=\"0\">Setup with Google Tag Manager<a class=\"copy-link\" title=\"Copy link\" data-id=\"setup-with-google-tag-manager\">&nbsp;<img decoding=\"async\" src=\"https:\/\/help.uxtweak.com\/wp-content\/themes\/uxtweak\/public\/assets\/images\/icons\/link.svg\" alt=\"Copy link\" \/><\/a><\/h2>\n\n\n<p class=\"text-block\">As an alternative to the above, you might already be familiar with using&nbsp;<a href=\"https:\/\/tagmanager.google.com\/#\/home\">Google Tag Manager (GTM)<\/a>&nbsp;for managing various scripts (tags) on your website. Our snippet is a tag like any other. You can use our GTM integration to add it to any of your existing containers easily. From where you found your snippet:<\/p>\n\n\n\n<ul class=\"bullet-list\">\n<li>Open the&nbsp;<strong>GTM<\/strong>&nbsp;tab<\/li>\n\n\n\n<li>Click&nbsp;<strong>Sign in<\/strong>&nbsp;to enter your Google Tag Manager credentials (you can also use Integrations page for this)<\/li>\n\n\n\n<li>Sign into your GTM account<\/li>\n\n\n\n<li>Grant UXtweak all the necessary permissions so we can add the recording snippet for you<\/li>\n\n\n\n<li>Select the container where you wish to add your UXtweak snippet<\/li>\n\n\n\n<li>Click Publish<\/li>\n<\/ul>\n\n\n\n<p class=\"text-block\">Please refer to our&nbsp;<a href=\"\/help\/privacy-policy\/\" data-type=\"page\" data-id=\"191\">Privacy Policy<\/a>&nbsp;to learn how we use your Google Data.<\/p>\n\n\n\n<p class=\"text-block\">Google Tag Manager and GTM are trademarks of Google LLC.<\/p>\n\n\n\n<div class=\"image-block\">    <div class=\"image-instance\">\n                    <img decoding=\"async\" class=\"image\" src=\"https:\/\/help.uxtweak.com\/wp-content\/uploads\/2025\/04\/image-10.png\" alt=\"GTM snippet installation\" \/>\n                <div class=\"right-container\">\n            <div class=\"text\">\n                                    <h4>GTM snippet installation<\/h4>\n                                                    <p>After you sign into your GTM account, you will be able to select the GTM container where you want to place your UXtweak snippet.<\/p>\n                            <\/div>\n            <div class=\"links\">\n\n            <\/div>\n        <\/div>\n    <\/div>\n    <\/div>\n","protected":false},"excerpt":{"rendered":"<p>Some UXtweak tools require the installation of the UXtweak snippet into your website or your prototype. This snippet provides features such as data recording or displaying tool-specific information to respondents and visitors. The following tools require the UXtweak snippet: This section covers how to: You can find your UXtweak snippet by clicking&nbsp;My snippet in the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":7,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"content-type":"","inline_featured_image":false,"footnotes":""},"categories":[33],"tags":[],"class_list":["post-476","page","type-page","status-publish","hentry","category-general"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.uxtweak.com\/help\/wp-json\/wp\/v2\/pages\/476","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.uxtweak.com\/help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.uxtweak.com\/help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.uxtweak.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.uxtweak.com\/help\/wp-json\/wp\/v2\/comments?post=476"}],"version-history":[{"count":10,"href":"https:\/\/www.uxtweak.com\/help\/wp-json\/wp\/v2\/pages\/476\/revisions"}],"predecessor-version":[{"id":3001,"href":"https:\/\/www.uxtweak.com\/help\/wp-json\/wp\/v2\/pages\/476\/revisions\/3001"}],"wp:attachment":[{"href":"https:\/\/www.uxtweak.com\/help\/wp-json\/wp\/v2\/media?parent=476"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.uxtweak.com\/help\/wp-json\/wp\/v2\/categories?post=476"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.uxtweak.com\/help\/wp-json\/wp\/v2\/tags?post=476"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}