Skip to main content

How to Install Asklayer on WordPress

Steps for adding the Asklayer script to your WordPress site using a header/footer plugin or Google Tag Manager.

To display Asklayer surveys on your WordPress site, you need to add the Asklayer script to your site's HTML.

Get your install code

  1. In the Asklayer dashboard, click your profile icon in the top right and select Install code.

  2. Copy the script shown under Standard installation.

Method 1: Header & Footer plugin (recommended)

The easiest way to install the script on WordPress is using a plugin such as Insert Headers and Footers or WPCode.

  1. Install and activate a header/footer plugin from the WordPress plugin directory.

  2. Paste the Asklayer script into the header section (before </head>).

  3. Save.

Method 2: Google Tag Manager

If you use Google Tag Manager:

  1. Create a new tag of type Custom HTML.

  2. Paste the Asklayer script into the tag.

  3. Set the trigger to All Pages.

  4. Save and publish.

Verify the installation

After installing, create and publish a survey in Asklayer, then visit your WordPress site to confirm the survey appears.

If the survey does not appear, see Site widget not showing — Troubleshooting.

Did this answer your question?