WordPress Quick-start

Adding the mandera tracking-snippet to your WordPress website

To set up mandera for your website, you need to insert a short code snippet into the header section of your site. Here’s how to do it within 2 minutes:

  1. Log in to your WordPress dashboard, go to “Plugins” –> “Add new Plugin” and search for the free plugin WPCode:

2. Install and activate it. You can access the “Code Snippets”-section of the Plugin either by clicking on “Code Snippets” in your WordPress dashboard menu on the left side, or through “Plugins” and clicking on “Code Snippets” at the WPCode Lite entry. When you are in the Plugin dashboard, click on “Add New”, then “+ Add Custom Snippet” and then “HTML Snippet”.

3. Paste your mandera analytics tracking snippet in the 1st line of the field. Then switch the toggle at the top to “active” and press “Save Snippet” – done.

4. If you want to test if your tracking is working properly, you can go to your website now and click around on a few pages. At this point, data should show up in the mandera analytics dashboard.

How we track

At mandera analytics, we collect the necessary information to provide you with valuable insights while maintaining the highest privacy standards for your visitors. Here’s a comprehensive overview of what we do and don’t collect.

Our Privacy-First Promise

Privacy isn’t just a feature – it’s our foundation. We’ve built mandera analytics with a strict privacy-first approach that ensures:

What We Do Not Collect

No Cookies

We never set any cookies or use similar technologies. Cookies can track visitors across multiple pages or even multiple websites – this is a hard no for us. This includes:

No IP Addresses

We drop the IP address from every single request. Period. We don’t save them, we don’t collect them, and we don’t hash them with cryptography. Your visitors remain completely anonymous.

What We Do Collect

Unique Visits

Our unique visit detection is truly unique. Instead of using invasive methods like cookies or IP addresses, we detect unique visits based on the referrer domain. When a user comes from one domain to another, their browser shares the previous domain. If the current page’s domain matches the referrer, we know it’s a non-unique visit.

Timestamps

We collect timestamps to generate your analytics graphs and allow you to analyze changes in your website’s performance over time. This data is completely anonymous and cannot be tied to individual visitors.

User Agents (Anonymized)

We collect anonymized user agent data only to:

We automatically anonymize user agent strings by truncating version numbers. For example:
Chrome/78.0.3904.108 becomes Chrome/78.0.0.0

Country Detection

Unlike services that use IP addresses for geolocation, we determine a visitor’s country based on their timezone. This provides country-level insights without compromising privacy. We can’t and don’t track cities or regions within countries.

Device Information

We collect basic device dimensions (viewport and screen size) to help you understand how your website appears across different devices. This information is purely technical and cannot identify individual visitors.

Time on Page

We measure actual engagement time, not just open tabs. Our time-on-page metric:

Referrers and UTM Parameters

We collect referrer information to show you where your traffic comes from. For UTM tracking, we collect:

Additional Features

Single Page Applications (SPAs)

For SPAs, we automatically handle unique visit detection and page transitions without compromising privacy.

Do Not Track

We respect the Do Not Track browser setting by default. While we never track individual users anyway, we exclude these visits entirely from your analytics when Do Not Track is enabled.

Why Choose mandera analytics?

  1. True Privacy by Design: We built our entire system around privacy, not as an afterthought. This means:
  1. Data Ownership: You own your data, and we make it easy to:
  1. Accurate Insights: Our privacy-first approach delivers:
  1. Technical Excellence: Our implementation is lightweight and performant:

Technical Details

Script Implementation

Our tracking script is lightweight (3kb) and designed for maximum performance. We send minimal script settings with each page view to:

Data Processing

All data is processed with privacy in mind:

Data Storage

Your analytics data is:

By choosing mandera analytics, you’re not just choosing an analytics tool – you’re choosing a privacy-first approach to understanding your website’s performance. We believe in providing valuable insights without compromising visitor privacy, and every feature we build reflects this commitment.

Getting started

To enjoy the benefits of mandera, you need to register an account (hint: mandera comes with a 14-day free trial). Registering includes a few steps:

For any help with the registration process, please contact us.

Adding the mandera tracking-snippet to your website

To set up mandera for your website, you need to insert a short code snippet into the header section of your site. Place the snippet within the <head> … </head> tags.

The snippet is unique to each website and contains a special code that allows mandera to collect data for your specific domain. This individual assignment ensures that your analytics data is captured accurately and securely.

Installing mandera on different Content Management Systems

WordPress

If you are using WordPress, the fastest way wo install mandera is our WordPress Quick-Start Guide.

The simplest way to install mandera is via a WordPress plugin (for example WPCode or Head & Footer Code, both free) that allows you to add code to your <head> tag. Many WordPress themes and page-builders already have this functionality included, so you can add the snippet right away. From the WordPress dashboard, you can find the settings here for each theme/page-builder:

Shopify

Navigate to Online Store > Themes > Actions “…” > Edit Code > Find the theme.liquid file (under Layout) and open it > Search for “</head>” in the file (search bar: “CMD + F” on Mac, or “CTRL + F” on Windows) > Now paste the mandera snippet just above the </head> tag > save

Wix

Click on “Settings” > Select “Tracking Tools” > Click “Manage” > Click “+ New Tool” > Choose “Custom” > Paste your mandera tracking code > Select “All Pages” for coverage > Choose “Load code once” > Select “Head” for placement > Click “Apply”

Squarespace

Open the Code Injection Panel > Paste your mandera tracking code in the Header section > save

Verifying mandera’s installation

During registration process, you will encounter a check if the mandera script is set up correctly. Optionally, you can skip this step and set up the tracking later. We recommend you simply opening your website in a new browser and clicking around on a few pages. This will already trigger the verification of your installation.