Documentation menuLanding pages and funnels: Instapage

Landing pages and funnels

Add Loogika to Instapage

Instapage takes the Loogika tag at two levels. A workspace script under Assets, then Scripts, covers all pages of the workspace. For a single page, the HTML/CSS settings of that page offer a Head section, and a tag placed there covers that page alone.

Last updated .

What do you need before you start?

Copy your script tag from Site Settings in Loogika, under the Tracking Script tab. It looks like this, with your own 12-character site ID in place of YOUR_SITE_ID:

<script src="https://app.loogika.com/api/script.js?siteId=YOUR_SITE_ID" defer></script>

Every Instapage plan lets you add custom HTML, CSS and JavaScript to a page. Only some subscriptions include workspace scripts, and Instapage shows an upgrade prompt on the others.

How do you add Loogika to every page in an Instapage workspace?

Add the tag as a workspace script in the Head section. Workspace scripts load on the live address before any page-level script.

  1. Open Assets, then Scripts, from the menu on the left.
  2. Paste the tag into the Head section.
  3. Above the editor, choose how the script applies. The table below explains the options.
  4. Click Apply.
OptionWhat it does
AEvery page in the workspace gets the script, both the pages that exist and the pages you create later
BThe script stays off until you switch it on for a page under Scripts & Privacy
B + CTurns the script on for all pages, and lets you switch it off for a single page

How do you add Loogika to a single Instapage page?

Paste the tag into the Head section of the HTML/CSS tab in the page settings, then publish the page.

  1. With the page open in the builder, click Settings in the sidebar on the right.
  2. Switch to the HTML/CSS tab, then paste the tag into Head.
  3. Click Publish.

The JavaScript tab has the same sections, but it wraps your code in script tags of its own. The Loogika tag already is a script tag, so the HTML/CSS tab is the right place for it.

How do you check that Loogika is installed?

Open the published page in a new tab. Neither the editor nor the preview runs custom code. Instapage runs it on the live, published page only. The pageview shows up in the Loogika dashboard within a few seconds.

If nothing arrives, open the page source and look for script.js?siteId=. The script troubleshooting page lists the causes that are not specific to Instapage.

Why does Instapage not send data to Loogika?

SymptomCause and fix
The page source does not contain the tagYou saved the page and did not publish it again. Custom code only reaches the live address when you publish
Assets, then Scripts, shows an upgrade promptYour subscription does not include workspace scripts. Add the tag to each page
Each pageview is counted twiceThe tag exists twice, once as a workspace script and once in the settings of the page. Remove one of the two
The old version of the page is still servedClear your browser cache after you publish. Instapage notes that stored copies can outlive an update