> ## Documentation Index
> Fetch the complete documentation index at: https://formbricks.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Wordpress

> Target specific visitors with a survey on your WordPress page using Formbricks for free. Show survey on specific page or on button click.

To run a targeted survey on your WordPress website, Formbricks is the way to go!&#x20;

With our generous free plan and open source tech, you get everything you need to get started and keep full control over your data.

## TLDR

1. Install the Formbricks WordPress plugin

2. Create a [free Formbricks account](https://app.formbricks.com/auth/signup)

3. Find and copy the `environment id`

4. Copy the environment id into the right field in the plugin settings

5. Create survey on trigger “New Session” to test it

## Step 1: Install the Formbricks WordPress plugin

As long as the Formbricks plugin is in review, please download it from our [GitHub repository directly.](https://github.com/formbricks/wordpress)

<img src="https://mintcdn.com/formbricks/PoRbKmWNh09zaWpR/images/xm-and-surveys/core-features/integrations/wordpress/1-wordpress-targeted-survey-on-website-free.webp?fit=max&auto=format&n=PoRbKmWNh09zaWpR&q=85&s=a9fffbb869cf6d24eb1f9d984a39cd43" alt="Run targeted website survye on any WordPress site" width="1912" height="1004" data-path="images/xm-and-surveys/core-features/integrations/wordpress/1-wordpress-targeted-survey-on-website-free.webp" />

## Step 2: Create a Formbricks Account

This is super straight forward: Go to [app.formbricks.com/auth/signup](https://app.formbricks.com/auth/signup), create the account, verify your email and you’re in!

When you see this screen, you’re there:

<img src="https://mintcdn.com/formbricks/PoRbKmWNh09zaWpR/images/xm-and-surveys/core-features/integrations/wordpress/2-run-website-survey-wordpress-targeted-for-free.webp?fit=max&auto=format&n=PoRbKmWNh09zaWpR&q=85&s=da1cab8573b3981febdc6c8f22854f69" alt="Free HotJar survey alternative open source" width="2732" height="1742" data-path="images/xm-and-surveys/core-features/integrations/wordpress/2-run-website-survey-wordpress-targeted-for-free.webp" />

## Step 3: Find and copy the environmentId

Go to `Configuration` > `Website & App Connection` where you’ll find your environmentId:

<img src="https://mintcdn.com/formbricks/Q9LOxgpWHulOxfHK/images/xm-and-surveys/core-features/integrations/wordpress/3-wordpress-setup-survey-on-website-targeted-free-open-source.webp?fit=max&auto=format&n=Q9LOxgpWHulOxfHK&q=85&s=9a6f08cc42f01b599929b3c93bf3fc0f" alt="Run targeted surveys for free on WordPress pages" width="2476" height="1616" data-path="images/xm-and-surveys/core-features/integrations/wordpress/3-wordpress-setup-survey-on-website-targeted-free-open-source.webp" />

## Step 4: Copy the environmentId to the WordPress Plugin Settings

In your WordPress instance, go to the Formbricks Plugin settings and copy the environmentId in the correct field:

<img src="https://mintcdn.com/formbricks/PoRbKmWNh09zaWpR/images/xm-and-surveys/core-features/integrations/wordpress/step-4-copy-to-wordpress-for-free-targeted-survey.webp?fit=max&auto=format&n=PoRbKmWNh09zaWpR&q=85&s=645e80231bb6cfdff2ef66de53cad002" alt="Free and open source HotJar survey on WordPress page" width="1950" height="1688" data-path="images/xm-and-surveys/core-features/integrations/wordpress/step-4-copy-to-wordpress-for-free-targeted-survey.webp" />

Then click the button at the bottom to see if the connection worked.

<Note>If you don’t use our Cloud, you also have to update the API Host</Note>

Great!

## Step 5: Create survey on trigger “New Session”

Now that all is setup, we create a survey to display an example survey. Create a survey and open survey editor.

Keep the content for now, click on the Settings tab:

<img src="https://mintcdn.com/formbricks/PoRbKmWNh09zaWpR/images/xm-and-surveys/core-features/integrations/wordpress/4-wordpress-website-survey-target-visitor-free.webp?fit=max&auto=format&n=PoRbKmWNh09zaWpR&q=85&s=9ec5b7ef6b0199582166ff5d845bb400" alt="Free and open source HotJar survey on WordPress page" width="2676" height="1772" data-path="images/xm-and-surveys/core-features/integrations/wordpress/4-wordpress-website-survey-target-visitor-free.webp" />

Here we do three things:

1. Change survey type to **App Survey** or **Website Survey**(for public facing)

2. Select trigger “New Session”

3. Publish

<img src="https://mintcdn.com/formbricks/PoRbKmWNh09zaWpR/images/xm-and-surveys/core-features/integrations/wordpress/6-targeted-survey-on-wordpress-website-for-free.webp?fit=max&auto=format&n=PoRbKmWNh09zaWpR&q=85&s=77a3397cdaf7d770aa3c7a2e40aa2ce8" alt="Open Source survey on targeted website wordpress" width="2860" height="1922" data-path="images/xm-and-surveys/core-features/integrations/wordpress/6-targeted-survey-on-wordpress-website-for-free.webp" />

When you see this page, you did it!

<img src="https://mintcdn.com/formbricks/PoRbKmWNh09zaWpR/images/xm-and-surveys/core-features/integrations/wordpress/7-wordpress-free-hotjar-survey-open-source-website-survey-hotjar.webp?fit=max&auto=format&n=PoRbKmWNh09zaWpR&q=85&s=a888a300c44ad513c5aff08e60ee7d81" alt="Run free an open source targeted survey on any page" width="2842" height="1818" data-path="images/xm-and-surveys/core-features/integrations/wordpress/7-wordpress-free-hotjar-survey-open-source-website-survey-hotjar.webp" />

## Step 6: Reload your page to check out your survey 🤓

You did it! Reload the WordPress page and your survey should appear!

## Doesn't work?

If you have any questions or need help, feel free to reach out to us on [Github Discussions](https://github.com/formbricks/formbricks/discussions)
