Landing pages and funnels
Add Loogika to Leadpages
In Leadpages you paste the Loogika tag into the Head Section Tracking Code field. Every site, landing page and pop-up has that field on the Analytics tab of its builder settings. In the site builder the field applies to the whole site, while a standalone landing page needs the tag in its own settings.
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>
How do you add the Loogika tag in Leadpages?
Open the builder settings, paste the tag on the Analytics tab and update the published page.
- Open the site or the landing page in the builder.
- Click the Settings gear in the left sidebar, then the Analytics tab.
- Paste the tag into Head Section Tracking Code.
- Click Save, then Update. Update pushes the change to the published page.
Does one tag cover every Leadpages page?
One tag covers every page of a Leadpages site, because the setting in the site builder is site-wide. A standalone landing page is different. Tracking code on a site does not reach landing pages that are published outside that site, so repeat the steps for each of them.
Do Leadpages pop-ups need their own tag?
No, not when the pop-up opens on a page that already has the tag. The settings of a pop-up do offer the same fields for tracking code. A pop-up that appears on a tracked page needs no copy of its own, because the tag of that page covers it.
How do you check that Loogika is installed?
Open the published page in a new tab and reload it once. 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=.
Why does Leadpages not send data to Loogika?
| Symptom | Cause and fix |
|---|---|
| The page source does not contain the tag | You saved the page and did not update it. Publish it again with Update in the builder |
| Standalone landing pages show no visits | The tag on a site does not extend to pages outside that site. Add the tag to each landing page |
| The tag was pasted into the Google Analytics field | A second field on the Analytics tab is meant for a Google Analytics ID, and it accepts nothing but a GA4 Measurement ID. Move the Loogika tag to Head Section Tracking Code |
Ad blockers and the other causes that are not specific to Leadpages are covered on the script troubleshooting page.