FLAT
70% OFF
Black Friday Sale
17d 09h 11m
Grab Now
17 days, 9 hours and 11 minutes left.

FreeNew

Tag Manager, Clarity and custom code, without another plugin

The Code and tracking tab adds tracking tags and your own code to every front-end page. Paste an ID or a snippet, save, and RankFlect SEO puts it in the right place.

What it does

Code and tracking

  • Google Tag Manager: the container snippet in the head and its noscript part right after the opening body tag.
  • Microsoft Clarity: the tracking code in the head, from your project ID.
  • Custom code in the head, after the body opens and before the body closes.
  • IDs are checked before they are saved, so a typo never prints broken code.
  • Your own visits stay out: the code is not loaded for logged-in editors and admins (on by default).
  • Only administrators who can post unfiltered HTML can change custom code, and AI agents never can.

How it works

Three steps

  1. 1

    Open Code and tracking

    Go to RankFlect SEO → Settings → Code and tracking.

  2. 2

    Paste your IDs or code

    Add a GTM- container ID, a Clarity project ID or your own code in the head, body or footer field.

  3. 3

    Save and check

    Save changes and view a page in a private window to see the code in the page source.

Free and Pro

Free, with more in Pro

Code and tracking is free in RankFlect SEO. Everything is empty by default, so nothing is added until you fill in a field.

FAQ

Code and tracking: questions

Will this count my GA4 visits twice?

Only if the GA4 tag in Webmaster tools is set and your Tag Manager container loads GA4 too. RankFlect SEO shows a note when both are set, so you can remove one.

Is the code added in wp-admin or feeds?

No. It is added to front-end pages only, never in wp-admin, feeds, sitemaps, robots.txt or REST API responses.

Does RankFlect SEO add a cookie banner?

No. If your site needs consent before tracking, set up consent in your consent tool or in your Tag Manager container.

Try it on your own site

Free for unlimited sites. Every Pro plan has a 14-day money-back guarantee.