Running surveys on your website allows you to collect feedback from your visitors directly, understand their behavior and motivations and find out how they respond to your content or offer - they help you understand why visitors behave as they do.
Having doubts? Putting the code on the website is very easy and totally safe.
Do I need to install the code to launch my survey? 🤔
If you are planning to launch a website or a web app survey, or the Feedback Button, you will need to install the tracking code. For other survey types (email and mobile) you can proceed without installing the code.
Table of contents
Installing tracking code on your website
Where to find the Tracking code?
Go to Settings>>Web surveys
How to put it on the website?🔧
If someone else is managing your website, you can send them an email with instruction
If you use Google Tag Manager you can use our one-click installation available in your account or find Survicate plug-in inside GTM.
Wordpress users - you can use our plugin 🔌
You can also install the code via Segment integration
None of the above? See the instructions below 👇
Manual tracking code installation
Copy the tracking code:
On the Tracking Code page, copy the Survicate tracking code you can find under Manual Installation. The first and the last line of code are just comments, and they won’t impact the execution at all.
2. Paste the tracking code to your website
You need to paste it into the code of your website pages. Our suggestion is to add it to your website template so that it automatically goes into each page of your site. The general recommendation is to insert the tracking code at the bottom of the <body> part.
3. Your Survicate Tracking Code is now installed.
Once you have added the Survicate Tracking Code to your site, you will need to wait a few minutes for your surveys to appear.
📌 With our tool, it is possible to identify respondents to the surveys using pieces of information you know about a respondent that's stored on your website or web-app called attributes. Please take a look at our article to know more about respondent's attributes and how to use them to identify respondents to your survey and more.
Check if your code is installed properly
In order to check if you need to do two things:
1. Open your website in the browser and view the Console
There are different shortcuts for every browser, below you will find a list of most popular ones:
Chrome: Ctrl + Shift + J (for Windows) Cmd + Alt + J (for Mac)
Safari: Alt + Cmd + C
Firefox: Ctrl+Shift+J (for Windows) Cmd + Shift + J (for Mac)
Opera: Ctrl + Shift + I
2. Write _svc in the Console and look for the outcome
As soon as you have the console opened, you will see a place to input your code:
Paste the code below and click Enter
If the code is installed properly you should receive a message with your workspaceKey
When you see the red error message, it means that you need to try installing it once again.
💬 If you have any questions or need help installing Survicate tracking code on your website, please feel free to reach out to our team at firstname.lastname@example.org.