Trackingclickmagick setuptracking guideattribution stackpostback urlsub-idsab testingbot filtering

The Complete ClickMagick Setup Guide: First Campaign to Full Attribution Stack (2026)

By Jonathan ParsonsMay 1, 2026Updated May 1, 2026
The Complete ClickMagick Setup Guide: First Campaign to Full Attribution Stack (2026)

Why You Need Independent Click Tracking (And Why ClickMagick Is the Best Tool for It)

Ad platforms report their own conversions using their own attribution models. Google claims credit for sales that came through Meta. Meta claims credit for sales that came through email. When you add up platform-reported conversions across all your channels, the total is almost always 2–3x your actual sales. Every marketer making budget decisions from platform dashboards alone is working with fabricated data.

ClickMagick is an independent click tracking tool that sits above your ad platforms. Every click from every source flows through ClickMagick first, where it is logged, attributed, and fraud-filtered before reaching your landing page. The conversion data flows back through ClickMagick regardless of which platform claims credit. This gives you a single source of truth that is not influenced by any platform's self-interest.

Start with ClickMagick's 14-day free trial — no credit card required. The rest of this guide walks you through setup, from first tracking link to full attribution stack.

Part 1: Account Setup and Your First Tracking Link (30 Minutes)

After creating your account, the first thing to do is install the ClickMagick tracking script on your website. Go to Tools > Tracking Script, copy the JavaScript snippet, and paste it into the <head> section of every page. If you use WordPress, install the ClickMagick plugin — it handles placement automatically. On ClickFunnels, Leadpages, or any funnel builder, paste it in the header code section of your page settings.

Now create your first tracking link. In ClickMagick go to Tracking Links > Add New Link. Enter a descriptive name (use this format: [source]-[campaign]-[date], e.g., google-brand-search-jun2026). Enter the destination URL — the landing page or affiliate offer you want to drive traffic to. Save it. ClickMagick generates a unique tracking URL. This is the URL you will use in your ads instead of the raw destination.

Test it: click the link. You should be redirected to your destination. Check your ClickMagick dashboard — you should see 1 click recorded. If you do, the basic setup is working.

Part 2: Conversion Tracking — The Critical Step Most People Skip

Clicks without conversions are vanity metrics. You need ClickMagick to know when a click leads to the action you care about — a purchase, an opt-in, a trial signup. Set this up before running a single paid campaign.

Pixel Method (for pages you control): In ClickMagick, go to Tracking Links > your link > Pixels > Add Pixel. Select "Action Pixel." Copy the pixel code and paste it on your thank-you page — the page visitors see after completing the desired action. This is the most important placement rule: the conversion pixel goes on the page after the action, not on the action page itself. A purchase pixel goes on the order confirmation page. A lead pixel goes on the opt-in thank-you page.

Postback URL Method (for affiliate offers and server-side): In ClickMagick, go to Tracking Links > Pixels > Postback URL. Copy the URL. Provide it to your affiliate network. When a conversion occurs, the network fires the postback directly from their server to ClickMagick's server — no browser, no cookie, no ad blocker can interfere. This is the gold standard for affiliate tracking accuracy.

Test both methods before scaling any campaign. Click your own tracking link. Complete the conversion action. Check ClickMagick within 5 minutes — the conversion should appear. If it does not, debug before spending another dollar on ads.

Part 3: Sub-IDs — The Feature That Separates Good Tracking from Great Tracking

Sub-IDs are variables you append to your tracking link that pass additional context about each click. Without sub-IDs, you know a conversion came from "Google Ads." With sub-IDs, you know it came from "Google Ads > Campaign: Brand Search > Ad Group: Core Terms > Ad: Headline Variant 3 > Keyword: clickmagick review."

ClickMagick supports up to 5 sub-IDs per link (s1 through s5). Use dynamic values from your ad platform so they fill in automatically:

For Google Ads: append ?s1={campaignid}&s2={adgroupid}&s3={creative}&s4={keyword}&s5={matchtype} to your tracking link destination. Google replaces the placeholders with real values for every click.

For Meta Ads: append ?s1={{campaign.id}}&s2={{adset.id}}&s3={{ad.id}}&s4={{placement}}&s5={{site_source_name}} — Meta uses double curly braces.

For TikTok Ads: append ?s1={{CAMPAIGN_ID}}&s2={{ADGROUP_ID}}&s3={{CREATIVE_ID}}&s4={{PLACEMENT}} — TikTok uses uppercase placeholders.

For Email: use static values: ?s1=email&s2=welcome-sequence&s3=email-3&s4=cta-middle. This tells you which email in which sequence drove which conversion.

The discovery that sub-IDs produce is always the same: 20% of your ads drive 80% of your conversions. Without sub-IDs, you cannot find that 20%. With sub-IDs, you can pause the other 80% and scale the winners — often doubling ROAS without increasing budget.

Part 4: Bot Filtering and TrueTracking

Industry estimates put fraudulent ad clicks at 15–20% of all paid traffic. That means for every $1,000 you spend, $150–200 is going to bots, competitors, and click farms. Ad platforms have incentives to underreport this problem — their revenue depends on you believing your clicks are real.

ClickMagick's TrueTracking technology analyzes every click for fraud signals: IP reputation, click velocity, device fingerprinting, behavioral patterns, and datacenter origin. Invalid clicks are filtered before they reach your landing page or get counted as conversions. In your ClickMagick tracking link settings, set TrueTracking to "Strict" for competitive paid search niches, "Moderate" for social traffic, and "Basic" for email or organic sources.

After enabling TrueTracking, run any paid campaign for 14 days and compare your ClickMagick click count against your ad platform's reported clicks. For most advertisers, ClickMagick counts 10–20% fewer clicks — because it filters the fraudulent ones. Those filtered clicks represent real money saved.

Part 5: A/B Split Testing Built Right In

ClickMagick's A/B testing works at the traffic level, not the page level. Instead of editing a page to create a variant, you create two (or more) separate destination URLs and let ClickMagick split your traffic between them. This works regardless of what platform your pages are built on — ClickFunnels, WordPress, Unbounce, or anything else.

To create a split test: in your tracking link settings, click "Add Rotation" to add a second destination URL. Set the traffic split (start at 50/50). Enable "Auto-Optimize" to let ClickMagick automatically shift more traffic to the winning variant once statistical significance is reached. In your reporting dashboard you will see clicks, conversions, and revenue per click for each variant — with a confidence percentage that tells you when the test is conclusive.

Never stop a test before reaching 95% confidence. ClickMagick shows this automatically. Most A/B tests need 500–1,000 conversions per variant to be statistically valid — patience is not optional if you want reliable data.

The metric that actually matters in A/B tests is not conversion rate — it is revenue per visitor. A variant with a slightly lower conversion rate but a higher average order value will have a higher RPV. ClickMagick tracks both, so you always know which variant is actually making you more money.

Part 6: Connecting ClickMagick to Your Ad Platforms

Google Ads: Enable auto-tagging in your Google Ads account (Settings > Account Settings > Auto-tagging). This appends the GCLID (Google Click ID) to every destination URL automatically. ClickMagick reads the GCLID and can send conversion data back to Google via the Offline Conversions import — giving Smart Bidding accurate signals. In ClickMagick, go to Integrations > Google Ads, connect your account, and configure which conversion actions to import.

Meta Ads: In ClickMagick, go to Integrations > Meta (Facebook). Connect your Meta Pixel. Enable the Conversions API (CAPI) integration. ClickMagick will automatically send purchase, lead, and custom conversion events to Meta server-side — bypassing iOS privacy restrictions and ad blockers. This recovers the 15–30% of conversions that the browser pixel misses.

TikTok Ads: Similar to Meta — connect via ClickMagick's TikTok integration and enable the Events API for server-side conversion data. The setup follows the same pattern: browser pixel for page events, server-side API for conversion events.

After connecting your platforms, your ad algorithms receive better conversion signals. Smart Bidding on Google works better. Meta's AI finds better audiences. Most advertisers see 15–25% CPA improvement within 4–6 weeks of implementing the full ClickMagick integration stack — simply because the algorithms now have accurate data to work with.

Part 7: Organizing Your Tracking Links at Scale

Start with a naming convention and never deviate from it. Use the format: [source]-[campaign-name]-[YYYY-MM]. Examples: google-brand-search-2026-06, meta-prospecting-retargeting-2026-06, email-welcome-sequence-2026-06. Always lowercase. Hyphens instead of spaces. Include the date so you can archive old links without deleting them.

Organize links into groups by channel. Create a group for each traffic source: "Google Ads," "Meta Ads," "TikTok," "Email," "Affiliates." Within each group, campaigns are individual links. This structure maps directly to how you manage budgets and makes reporting intuitive.

Set a monthly calendar reminder for link hygiene: archive any link that has received zero clicks in 60 days, verify that all active links are pointing to live destination URLs, and run a quick comparison between ClickMagick-reported conversions and your actual revenue to catch any tracking drift.

Part 8: Building Your Reporting Stack

ClickMagick provides a comprehensive built-in dashboard. For most marketers, this is sufficient. If you need to share data with a team or build custom views, export ClickMagick's CSV data daily to Google Sheets and connect Google Looker Studio for automated dashboard generation.

The five metrics to track weekly: total clicks by source, conversion rate by source, revenue per visitor by source, overall ROAS (ClickMagick-measured, not platform-reported), and week-over-week trend for each. If any metric declines more than 20% week-over-week, investigate immediately — usually a broken pixel, a paused conversion action, or a tracking link pointing to a broken page.

The one number that changes your business: revenue per visitor (RPV) by traffic source. If Google Ads sends visitors with $3.80 RPV and Facebook sends visitors with $1.40 RPV, the budget allocation decision is obvious. ClickMagick calculates RPV automatically. Make it the centerpiece of your weekly review.

Ready to get started? Start your free ClickMagick trial here — 14 days, no credit card required. Follow this guide step by step and you will have a complete, accurate attribution stack running by end of week one.

ClickMagick
Recommended Tool
ClickMagick — Track Every Click, Kill Bot Traffic, Maximize ROAS
14-day free trial · No credit card required · From $37/mo
Start Free Trial

Continue Reading

Frequently Asked Questions

What is click tracking and why do I need it?
Click tracking records every click on your marketing links, capturing data about the traffic source, device, location, and whether the click led to a conversion. It's essential for understanding which campaigns are actually driving revenue versus which just look good in platform dashboards.
What is server-side tracking?
Server-side tracking sends conversion data directly from your server to your tracking platform, bypassing browser restrictions, ad blockers, and iOS privacy settings. It's more accurate than pixel-based tracking and is increasingly essential as browsers restrict third-party cookies.
How do I track conversions accurately in 2026?
Accurate conversion tracking in 2026 requires a combination of first-party click tracking (using a tool like ClickMagick), server-side conversion events, and email-based identity resolution. This combination captures conversions that browser-based pixels miss due to ad blockers and iOS privacy restrictions.

Ready to Track Every Click and Maximize Your ROI?

ClickMagick is the #1 click tracking and attribution platform trusted by 100,000+ marketers. Start your free 14-day trial today — no credit card required.

Try ClickMagick Free for 14 Days

Found this useful? Share it

Help other marketers find this — every share drives real traffic back to the site.

Ready-to-Post Captions

Click any caption to copy it, then paste directly into your social media post.

X / TwitterKeep under 280 chars
LinkedIn
Facebook

Pro tip: Post at peak times — LinkedIn: Tue–Thu 8–10am, Twitter/X: Mon–Fri 9am–3pm, Facebook: Wed 11am–1pm. Engage with comments in the first hour to boost reach.

ClickMagick
Track smarter with ClickMagick

We use cookies & ads to keep this site free

We use cookies for analytics, personalized ads (via Google AdSense), and affiliate tracking. By clicking “Accept All” you consent to our use of cookies as described in our Privacy Policy. You can decline non-essential cookies — the site still works, but ads may be less relevant.

GDPR & CCPA compliant · You can change your preferences anytime in our Privacy Policy

Talk with Us