Ahrefs Integration: Add Ahrefs to Your Site

SEO & Optimization
2 integration methods

Ahrefs

Verify your We.Inc site in Ahrefs with one meta tag, and optionally add Ahrefs Web Analytics for cookie-free traffic stats.

Use Case

Where Ahrefs touches a We.Inc site, and where it does not

Ahrefs is an SEO toolset: backlink data, keyword research, rank tracking and a Site Audit crawler. Most of it works from Ahrefs' own crawl of the web, so your backlinks and rankings show up whether or not you add anything to your pages.

Two pieces do live on your site. The first is an ownership tag: Ahrefs' help center lists four ways to prove you own a site (Google Search Console, a DNS record, an HTML file or an HTML tag), and the HTML tag is a meta element placed in the head of your homepage. The second is Ahrefs Web Analytics, a separate traffic tool installed with a JavaScript snippet in the head.

Neither one changes your rankings. Verification unlocks site-owner features in Ahrefs, and the analytics script counts visits. Improving titles, descriptions and structure still happens in We.Inc's SEO panel and your content.

Four verification routes

Search Console, DNS, an HTML file or a head meta tag all prove ownership to Ahrefs.

Tag must stay put

Ahrefs rechecks ownership regularly, so removing the tag later can unverify the project.

Cookie-free analytics

Ahrefs says its Web Analytics uses no cookies and does not store raw IP addresses.

Free tier for traffic stats

Free accounts get Web Analytics on unlimited sites up to 1 million page views a month each.

Setup Guide

How to integrate Ahrefs.

01

Verify ownership with the HTML tag

Gives Ahrefs proof that the site is yours.

Step-by-step guide

  1. 1

    In Ahrefs, add your site as a project and choose HTML tag as the verification method.

  2. 2

    Copy the meta tag exactly as Ahrefs shows it.

  3. 3

    Paste it into the We.Inc builder chat and ask for it in the head of the homepage.

  4. 4

    Publish the site.

  5. 5

    Open the live homepage, view the page source and search for the tag to confirm it is there.

  6. 6

    Return to Ahrefs and run the check; the project settings should show Verified.

02

Install Ahrefs Web Analytics

Adds a lightweight traffic counter from Ahrefs.

Step-by-step guide

  1. 1

    Create or open a Web Analytics project in Ahrefs; for existing projects the snippet is in project settings.

  2. 2

    Copy the snippet.

  3. 3

    In We.Inc, open the code editor and paste it inside the head of index.html, or ask the chat to add it to every page.

  4. 4

    Publish, then browse a couple of pages on the live address.

  5. 5

    Click Recheck installation in Ahrefs to confirm data is arriving.

Do you need Ahrefs Web Analytics if We.Inc already counts visits?

We.Inc's Analytics panel already shows visitors, pageviews, top pages, referrers, countries and devices with no tag to install. Adding Ahrefs Web Analytics makes sense mainly if you want traffic beside your Ahrefs keyword and backlink data in one place, or if you run several sites in one Ahrefs account.

Ahrefs lists paid tiers above the free limit: $99 a month for up to 5 million events, $299 for 20 million and $999 for 100 million, per project, as of October 2026, noting that prices may vary by location.

Privacy notes from Ahrefs' own documentation

Ahrefs says Web Analytics keeps no persistent identifiers and counts daily unique visitors through a salted hash that is regenerated every 24 hours. It still collects page URLs, referrers, user agents, language and screen size, and Ahrefs reminds site owners that their own privacy obligations remain theirs. Keep names and email addresses out of your URLs.

Ahrefs questions

Does adding Ahrefs code help my Google rankings?
No. The verification tag and the analytics snippet only talk to Ahrefs. Rankings depend on your content, links and technical setup. Use the We.Inc SEO panel for titles, descriptions, sitemap and structured data, and use Ahrefs to research keywords and watch backlinks.
Which verification method is easiest on We.Inc?
Ahrefs recommends Google Search Console. If your site is already verified there, connecting it to Ahrefs avoids touching the site at all. Otherwise the HTML tag is simple: paste it into the chat, ask for it in the homepage head, publish, then press verify in Ahrefs.
Why does Ahrefs say my site is unverified after a redesign?
Ahrefs checks ownership again before crawls. If a rebuild or a large edit removed the meta tag from the homepage head, verification fails. Ask the chat to add the tag back, publish, and recheck.

Related

More SEO & Optimization integrations.

View all integrations

Ready to integrate Ahrefs?

Start building your website with We.Inc and connect Ahrefs in minutes.

Start Building Free to build · no card needed · Get help with setup

More in Integrations

Product

Who It's For

Features

Resources

Company

View Sitemap