Install Logiwolf: on any website in a few minutes

You need a single line of code in the HTML head. Here are the steps for WordPress, Shopify, Webflow, Wix, Squarespace, Framer, Google Tag Manager, Next.js and plain HTML.

Updated on · Reading time: approx. 4 minutes

In short

Create an account, add your website, copy your pixel ID and paste the snippet before the closing </head>. The pixel loads with defer and does not block rendering. Then open your website and you will see yourself as a live visitor in the dashboard.

Four steps to your first visitor

  1. 1

    Create an account

    Sign up for free, no credit card needed.

  2. 2

    Add your website

    Add your domain in the dashboard. Logiwolf then shows you the snippet with your personal pixel ID.

  3. 3

    Paste the snippet

    Add the snippet to the HTML head of every page, ideally in your template or site settings. The steps for each platform are below.

  4. 4

    Check the installation

    Open your website in a new window. Within seconds you appear as a live visitor in the dashboard.

index.html
<!-- Pixel Code - Logiwolf -->
<script defer src="https://app.logiwolf.com/pixel/YOUR-PIXEL-ID"></script>
<!-- END Pixel Code -->

Your own website with HTML

Paste the snippet into every page right before the closing </head>. If your website uses a shared template or layout, one place is enough. Static site generators such as Hugo, Jekyll or Eleventy usually have a file like head.html or base.html for this.

WordPress

With a plugin: install a plugin for header code, for example WPCode. Open "Code Snippets", then "Header & Footer", paste the snippet into the "Header" field and save. Without a plugin: add this to functions.php in a child theme:

functions.php
// functions.php in a child theme
add_action('wp_head', function () {
  echo '<script defer src="https://app.logiwolf.com/pixel/YOUR-PIXEL-ID"></script>';
});

Then clear the cache of your caching plugin and, if applicable, your host, otherwise WordPress keeps serving the old version. The detailed guide with block themes, WP Rocket and an installation check is at Add Logiwolf to WordPress.

Shopify

  1. In the admin, open "Online Store", then "Themes".
  2. On the active theme, click the three-dot menu and choose "Edit code".
  3. Open layout/theme.liquid and paste the snippet right before </head>.
  4. Save the file.

Shopify's checkout does not load theme.liquid. This measures shop pages, products and the cart, but not the checkout itself. More in the guide Add Logiwolf to Shopify.

Webflow

  1. Open your project's "Site settings" and go to the "Custom code" tab.
  2. Paste the snippet into the "Head code" field and save.
  3. Publish the site again, only then is the code live.

Custom code in the head requires a paid Workspace or Site plan in Webflow. All details are in the guide Add Logiwolf to Webflow.

Wix

  1. In the dashboard, open "Settings" and then "Custom Code".
  2. Click "Add Custom Code" and paste the snippet.
  3. Name the code, choose "All pages" and the placement "Head".
  4. Click "Apply".

Wix only offers custom code with a Premium plan and a connected domain. What else applies is in the guide Add Logiwolf to Wix.

Squarespace

  1. Open Code Injection. Depending on the version you find it in the settings under "Advanced" or under "Website" in the website tools.
  2. Paste the snippet into the "Header" field and save.

Code Injection is not included in every Squarespace plan.

Framer

  1. Open "Site Settings" and go to "General".
  2. Under "Custom Code", paste the snippet into the field for the end of the <head> tag.
  3. Publish the site again.

Google Tag Manager

  1. Under "Tags", create a new tag and choose the type "Custom HTML".
  2. Paste the snippet.
  3. Choose the trigger "All Pages" and save.
  4. Click "Submit" and publish the new container version.

Placed directly in the HTML head, the pixel loads faster because it does not wait for Tag Manager. Use Tag Manager if you manage all your scripts there anyway.

Next.js, React and other single-page apps

In Next.js with the App Router, add the pixel to the root layout with the Script component:

app/layout.tsx
import Script from 'next/script';

// app/layout.tsx, inside <body>
<Script
  src="https://app.logiwolf.com/pixel/YOUR-PIXEL-ID"
  strategy="afterInteractive"
/>

In single-page apps, pages change without a full reload. After installing, check whether these page changes appear as pageviews in the dashboard, and write to hello@logiwolf.com if they do not.

How to check the installation

  • Live visitors: open your website in a private window. Within seconds you appear as an active visitor in the Logiwolf dashboard.
  • Developer tools: open the browser developer tools, "Network" tab, and filter for "logiwolf". The request to app.logiwolf.com should show status 200.
  • Ad blockers: some blockers stop analytics scripts in general, so test with your blocker switched off.

If no data arrives

  • Cache: caching plugins, hosts and CDNs often still serve the old page. Clear all caches.
  • Wrong domain: Logiwolf only counts the domain you added in the dashboard. Add a staging domain as a separate website.
  • Content Security Policy: if your website sets a CSP, allow app.logiwolf.com for scripts and connections:
HTTP header
Content-Security-Policy:
  script-src  'self' https://app.logiwolf.com;
  connect-src 'self' https://app.logiwolf.com;

If none of this helps, send us your website's URL at hello@logiwolf.com. How to track campaigns cleanly afterwards is shown in the guide to UTM parameters.

Frequently asked questions

Installation: frequently asked questions

Where exactly does the snippet go?
Into the HTML head of every page, ideally right before the closing </head>. Because the pixel loads with defer, it does not slow down page rendering.
Can I track several websites with one account?
Yes. How many websites you can add depends on your plan: one on the free plan, five on Starter, 25 on Professional and unlimited on Enterprise. Details on the pricing page.
Do I need to change my cookie banner after installing?
Logiwolf sets no cookies, so in Switzerland the statistics usually need no consent. What exactly applies in Switzerland and the EU is explained in the guide to cookie banners. Logiwolf still belongs in your privacy policy.
Does Logiwolf work with a Content Security Policy?
Yes. Allow app.logiwolf.com in script-src and connect-src, and the pixel can load and send its data.
Is the pixel blocked by ad blockers?
Some ad blockers block analytics scripts in general, which can affect Logiwolf too. This applies to every analytics tool, whether it sets cookies or not.
Free · no credit card

Ready to install?

Create an account, copy the snippet, done. Free forever up to 2,000 pageviews per month.