# Install RightMessage on Instapage

You'll add RightMessage to an Instapage landing page and its variations, keep your consent controls in place, and check that data is coming through.

Add RightMessage to your Instapage landing page so you can ask questions and personalize what visitors see. The page-level script settings cover all its variations.

## Add the snippet to your page

You'll need a [RightMessage project](https://rightmessage.com/help/create-an-account) and permission to edit custom scripts and publish or update the Instapage page. Instapage's [custom-code guide](https://help.instapage.com/hc/en-us/articles/205178068-Using-Custom-HTML-Javascript-and-CSS-on-Your-Page) doesn't name a separate minimum plan for page scripts. Workspace-wide scripts are a separate account capability.

1. In RightMessage, select your project and open **Settings** > **JavaScript Snippet** under **Project**.
2. Keep **Live website** selected and copy **Snippet Code**.

![RightMessage live-website Snippet Code panel with the Copy to clipboard icon highlighted in orange](https://rightmessage.com/help/screens/platforms-snippet-copy.light.webp)

3. In Instapage, click your landing page's name to open its slideout, then open **Scripts & Privacy**.
4. Paste the JavaScript into **Header**. Remove the `<!-- RightMessage -->` comment and the opening and closing `<script>` tags. Instapage supplies those tags.
5. If you use **Cookie Bar**, configure it to match your consent requirements.
6. Save and publish or update the page.

Scripts here wait for acceptance when the Cookie Bar is enabled. Including your own script tags can bypass that behavior. Instapage's [Cookie Bar guide](https://help.instapage.com/hc/en-us/articles/360012794231-Cookie-opt-out-notification) explains its consent controls.

This covers every variation of this page, not every page in your workspace. Use only one installation per page. Any questions, offers, or personalizations already published in RightMessage can appear once the snippet runs.

For a single variation or several pages, see the [Instapage installation options](https://rightmessage.com/help/everything-you-need-to-know-about-your-rightmessage-tracking-script#instapage-variations-and-workspace-scripts).

## Check that it's working

1. Open your published landing page. Instapage runs custom JavaScript on the live site, not in its editor or preview.
2. Follow the consent prompt if enabled, and visit the variations where RightMessage should run.
3. In RightMessage, open **Settings** > **JavaScript Snippet** and look for a recent timestamp in **Snippet Health**.

A recent timestamp means RightMessage is receiving data. Use the [debugger](https://rightmessage.com/help/best-practices-for-testing) to see what it's showing on the page.

If no data arrives, follow [installation troubleshooting](https://rightmessage.com/help/common-set-up-issues).

Next, [build a resource recommendation in the app](https://rightmessage.com/help/first-experience-in-the-app).
