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
Open Code and tracking
Go to RankFlect SEO → Settings → Code and tracking.
- 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
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.
Keep exploring
Related features
- Search Console and GA4FreeClicks, impressions, CTR, position, GA4 traffic and visits from AI assistants such as ChatGPT and Perplexity, inside WordPress, straight from Google.Learn more
- AI agents and MCPFreeLet Claude, ChatGPT, Cursor or VS Code work on your WordPress SEO through a built-in MCP server, with scoped tokens, approval and undo.Learn more
- Approval, dry run and undoFreePreview every AI agent change with a dry run, hold edits in an approval queue and undo any change, one at a time or as a batch, in RankFlect SEO.Learn more
Try it on your own site
Free for unlimited sites. Every Pro plan has a 14-day money-back guarantee.