How to track the results of a social media post without cookies
When you share a link on Twitter, LinkedIn, or Instagram you want to know two things:
- How many people actually visited your site because of that post?
- How many of those visitors completed a valuable action (sign-up, purchase, download, etc.)?
You can answer both questions without relying on cookies or third-party scripts. The workflow below uses a cookieless tracker, UTM parameters, and a simple funnel built in the analytics dashboard. All of the steps can be automated by a coding agent such as Claude Code, Cursor, or Codex.
1. Tag the destination URL with UTM parameters
UTM tags let you attribute traffic to a specific social channel, campaign, and piece of content. A typical URL looks like this:
https://example.com/guide?utm_source=twitter&utm_medium=social&utm_campaign=product_launch&utm_content=post_2024_09
- utm_source – the platform (twitter, linkedin, instagram)
- utm_medium – the type of traffic, usually “social”
- utm_campaign – a name you choose for the promotion (product_launch)
- utm_content – an optional identifier for the exact post (post_2024_09)
Add the parameters directly in the link you share, or use a URL shortener that preserves them.
2. Install the cookieless analytics script
If you haven’t already, add the single script tag to every page you want to track. Replace YOUR_KEY with the key you receive after signing up:
<script defer src="https://a.measuremy.site/t.js" data-key="YOUR_KEY"></script>
No cookies, no local storage. Each visitor gets a daily-reset anonymous ID, so the data stays privacy-friendly while still giving you pageviews, source breakdowns, and device info.
3. Define the conversion you care about
Most social media posts aim at a downstream goal: a newsletter sign-up, a demo request, a download, etc. Mark the element that represents that action with a data attribute so the tracker records a custom event.
<button data-measuremysite-event="signup_click">Sign up</button>
You can add similar attributes to forms, links, or any clickable element. The event name is free-form; just be consistent across pages.
4. Build a funnel in the dashboard
The analytics UI lets you create a funnel from the page path and custom events. A typical funnel for a social post might be:
- Landing page – the URL you linked to (e.g.,
/guide) - Key page – a deeper page that indicates interest (e.g.,
/pricing) - Conversion event – the custom event you set (
signup_click)
The funnel automatically groups visits that contain the same UTM parameters, so you’ll see a separate conversion rate for each social post.
5. Use the MCP server for programmatic insights
If you prefer to let a coding agent generate reports, paste a single sentence into the agent:
Add measuremy.site analytics to this project: connect the measuremy.site MCP server at https://a.measuremy.site/mcp (it signs in with OAuth, no key), then tell me how to sign in. Details: measuremy.site/llms.txt
The agent will read the analytics via the MCP server, extract the funnel data, and can even draft a summary like “Twitter post #23 generated 120 visits, 8 sign-ups, 6.7 % conversion”. This eliminates manual clicks in the UI and keeps your reporting workflow in code.
6. Spot traffic spikes and diagnose causes
After the post goes live, monitor the “traffic spikes” indicator in the dashboard. If a spike appears, the system suggests likely sources (e.g., “UTM source=twitter, content=post_2024_09”). This helps you confirm that the bump really comes from the social post and not from unrelated referrals.
7. Compare multiple posts
When you run several variations (different headlines, images, or posting times), use the utm_content tag to differentiate them. The dashboard will show each content variant side by side, with metrics such as:
- Pageviews
- Unique visitors (daily-reset ID)
- Bounce rate
- Funnel conversion
Choose the variant with the highest conversion rate and replicate its elements in future posts.
8. Check your plan has room for a spike
A post that takes off can bring more visits in a day than a normal month. measuremy.site's 30-day free trial and its Starter plan include 100,000 pageviews a month. If a campaign could go past that, check the usage meter on the dashboard before you post and move to a bigger plan if needed, so no visits go uncounted.
9. Verify attribution with a manual check
Even with UTM tags, occasional mis-attribution can happen (e.g., if a user clicks the link from an email that also contains UTM parameters). To double-check:
- Open the destination page in an incognito window.
- Paste the exact URL you plan to share.
- Look at the analytics “real-time” view to confirm the source appears as expected.
Doing this once per campaign validates that your tagging is correct.
10. Turn insights into action
After the campaign ends, export the funnel data (CSV or similar) and answer these questions:
- Which platform drove the most qualified traffic?
- Did a particular headline or image outperform the others?
- Was the conversion rate higher on desktop or mobile?
Use the answers to refine your next set of UTM parameters, adjust posting times, and tweak the landing page layout.
---
Measuring the results of a social media post doesn’t have to involve invasive tracking or complex setups. By combining UTM tagging, a single cookieless script, and a straightforward funnel, you get a clear picture of traffic and conversions while staying privacy-first. The same workflow scales from a single tweet to a multi-platform campaign, and with the MCP server you can automate the reporting step entirely.
Keep the process tight, monitor spikes, and iterate based on the funnel data – that’s the most reliable way to turn social shares into measurable business value.
See it on your own site
measuremy.site is cookieless analytics your coding agent can read. 30-day free trial, no card. Plans from $9/month.
Start free trial See the live demoAdd measuremy.site analytics to this project: connect the measuremy.site MCP server at https://a.measuremy.site/mcp for all my projects (claude mcp add --scope user; it signs in with OAuth, no key, and one sign-in covers every site), then tell me how to sign in. Details: measuremy.site/llms.txt
Free tools
- Free UTM link builder: Add utm_source, medium and campaign to any link.
- UTM link checker: Find broken UTM tags and see which GA4 channel a link lands in.
- Link shortener with click tracking: Short links with a click count by day and country.
More from the blog
- How to calculate your website conversion rate, and what to compare it to
- Is my A/B test result significant? A plain-English guide with a worked example
- What is bounce rate, how is it calculated, and is yours a problem?
- How to add a visitor counter to your website or GitHub README
- How much traffic does a website get? How to estimate any site's visits
- How to track QR code scans: count them, and see which poster worked
- How to see how many people clicked your link (without a paid shortener)
- How to check if your Google Analytics 4 tag is installed (and only counting once)
- Why GA4 shows your campaign traffic as Unassigned (and how to fix the links)
- Does your redirect keep your UTM tags? How to check before a campaign goes out
- How I built a self-hosted analytics MCP server on Cloudflare Workers and D1
- UTM tracking explained: what the parameters mean and how to use them
- Conversion funnel analysis for small sites: a practical guide
- Sudden drop in website traffic? A checklist for finding the cause
- What is an MCP server? A plain-English guide for people who run websites
- Website Data Analytics for Owners: A Practical Guide
- Vanity Metrics vs Useful Metrics: What to Track
- How to Compare Cookieless Website Tracking Tools
- Why Your Analytics Numbers Differ Between Tools
- When GA4 Is Too Much for a Small Website
- How to keep historical data when switching analytics tools
- How to give an AI agent read-only access to your analytics
- Why developers are connecting agents to production data
- How to recover from a sudden traffic drop
- Website analytics for indie hackers: what to watch and what to ignore
- Direct Traffic Explained: Why So Much Is Unknown
- Why a high bounce rate is not always bad
- High bounce rate: 8 causes and practical fixes
- How to Set Up Traffic Alerts for Sudden Drops
- How to Track Traffic From a Podcast
- How to measure the return on a paid ad campaign
- How to use analytics to decide what to write next
- How the Model Context Protocol Works
- Track File Downloads Without Guesswork
- Adding analytics to a Next.js app without slowing it down
- Core Web Vitals and Traffic: Is There a Link?
- Analytics After Cookies: What Actually Changes
- GDPR and website analytics: a practical guide for small sites
- How to Compare Website Analytics Tools by Privacy
- GA4 Events Explained for Beginners
- How to measure a newsletter send with UTM links
- How to track Hacker News traffic
- Adding Analytics to a Framer Site
- How to ask your coding agent about your analytics
- What Is Bounce Rate and How Is It Calculated?
- A practical website analytics retention policy
- Map your site's funnel from first visit to signup
- What Is a Good Bounce Rate?
- How to automate a weekly traffic report
- A Practical Privacy-Friendly Analytics Checklist
- Adding an MCP server to Claude Code
- How long should you keep analytics data?
- How to Build a Small MCP Server That Actually Helps
- How to Find the Biggest Drop Off in a Funnel
- What Is the Urchin Tracking Module?
- What Microsoft MCP servers actually do
- UTM parameters for email newsletters
- Track Button Clicks Without Google Tag Manager
- How to track traffic from a GitHub README
- How to measure a product launch without guessing