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 an in-product 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
1. Go to Organization settings > Web surveys
2. Send instructions to your team or install the code:
If someone else is managing your website, you can send them an email with instructions.
If you use Google Tag Manager you can use our one-click installation available in your account or find the 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
1. Copy the tracking code:
On the Tracking Code page, copy the Survicate tracking code you can find under Manual Installation.
2. Paste the tracking code to all the website pages you want to launch surveys on.
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. Test if your code is installed properly with the instructions below before launching your first surveys.
📌 With our tool, it is possible to identify respondents to the surveys using pieces of information you know about a respondent that are stored on your website or in-product called attributes. Please take a look at our article to know more about respondents' 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 the Survicate tracking code is installed properly, 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.
Target the survey on specific URLs or show it with a delay
Choose to show your survey after someone has scrolled a part of your webpage when they're about to exit, or only on some of your website's subpages. Visit our targeting basic guide to learn how to achieve this.
Make sure only a chosen group of visitors see your survey
Define other filters in your Audience
Show the survey only to users from a chosen visit source, to visitors speaking a particular language, or using a mobile or desktop device. Learn how to achieve this here.
📞 If you have any questions or need help installing the Survicate tracking code on your website - feel free to reach out to our team via chat or email: email@example.com