Installing Your Assistant on Your Site

Unlike other AI-powered tools, getting up and running with Frase takes minutes, not weeks.

There are a couple ways to install Frase on your website, each of them are very simple. 

In this guide we'll cover: 

  • Javascript/Wordpress Installation
  • Google Tag Manager Installation
  • Specifying Which URL's You Want Your Assistant to Appear On
  • Installation FAQ


Javascript/Wordpress Installation

Installing the Frase Assistant requires access to the <head> section of your website. That is the same location where other common tools like Google Analytics are installed.

Step 1: Copy Javascript snippet

To find the JavaScript snippet, navigate to "Answers" > "Assistants" and then scroll to the bottom of the page to identify the unique snippet (seen below).

Step 2: Install on your website

Paste the code inside the <head> section of your website. Most CMS providers will provide you with tools or plugins to insert code in the <head> section.

Here are useful plugins and tutorials for some popular CMS providers:

Disclaimer

For your Assistant to load on your website, you will need to add your website domain under the "Targeting" section of your Assistant Settings. Click here to learn more. 


Google Tag Manager Installation 

For starters, you will need to have a Google Tag Manager account. Follow this guide if you don't have one yet.

Once you have a Google Tag Manager account, here is how to install Frase Answers:

1. Create new Custom HTML tag

Click "Tags" and then "New" to create a new tag. Under "Tag Type", select "Custom HTML".

Name your tag "Frase" (top menu).

2. Copy/paste your Frase code snippet

Log in to Frase and navigate to your "Assistants" page.

Your snippet will look like this:

Copy/paste the snippet into your new tag on Google Tag Manager:

3. Support document.write

Very important step. Check out the box to support "Document.write"

4. Triggering

Select "All Pages" under the "Triggering" section.

5. Save and Submit

Click "Save" to save your new tag.

Finally, click "Submit" on the top right corner, so your update goes live.


Specifying Which URL's You Want Your Assistant to Appear On

Some users don't want their Frase Assistant to appear on every page of their site. To specify which pages you want your Assistant to appear on, navigate to your Assistant Settings page, and click "Targeting". You can specify where your assistant should load. Similarly, you can also blacklist certain URL patterns.


Installation FAQ

Can I install on multiple websites?

Yes, you can have several Assistants installed across different websites. You can also deploy different Assistants within the same website, where each assistant  targets certain URL patterns.'

I followed your instructions and my Assistant isn't appearing. What gives?

Your assistant might fail to load for different reasons:

1. Frase's Javascript is misplaced

Follow this guide to make sure you've installed Frase correctly.

2. You haven't specific a target URL under your Assistant Settings

Make sure you've specified where your assistant should load. Learn more about URL targeting.

Still not working? Contact support at team@frase.io and we'll be happy to help out.