Affiliate Click Tracker
Track affiliate link clicks, capture UTM parameters, and trigger automated email sequences for high-intent visitors.
Replaces
ClickMagick ($27/mo) + Voluum ($69/mo)
Savings
$1,152/year
What This Workflow Does
Tracks Clicks
Records every affiliate link click with timestamp and source.
Captures UTM Data
Logs UTM parameters to track campaign performance.
Identifies Intent
Detects high-intent behavior (multiple clicks, time on page).
Triggers Follow-ups
Sends targeted emails to visitors who showed purchase intent.
How to Set Up Affiliate Click Tracking
Complete guide to implementing affiliate link tracking with intent detection and automated follow-up sequences
- 1
Import the Workflow
Download the workflow JSON file and import it into your n8n instance via Settings → Import from File. The workflow includes a webhook trigger for click tracking, UTM parameter parsing, intent detection logic, and email sequence nodes.Learn more → - 2
Configure Tracking Links
Add JavaScript tracking code to your affiliate links to send click data to the n8n webhook. Include the webhook URL, affiliate link ID, and capture UTM parameters from the URL query string. Example:fetch('https://your-n8n.com/webhook/affiliate-click', { method: 'POST', body: JSON.stringify({ link_id, utm_source, utm_medium, utm_campaign }) }) - 3
Set Intent Rules
Configure the IF nodes in the workflow to define what constitutes "high intent" behavior. Common indicators include: multiple clicks from the same user within 24 hours, time spent on the affiliate landing page (>2 minutes), or clicks from high-value UTM campaigns. Adjust thresholds based on your audience behavior patterns. - 4
Create Email Sequences
Set up targeted follow-up email sequences in SendGrid for high-intent visitors. Create dynamic templates that reference the affiliate product they showed interest in. Configure SendGrid API credentials in n8n and map template IDs to the 'Send Email' nodes. Customize email timing and content based on intent level.Learn more → - 5
Activate & Monitor
Activate the workflow in n8n for live traffic. Test with sample affiliate clicks to verify tracking accuracy. Monitor click data in your database or analytics dashboard (optional nodes for Google Sheets, PostgreSQL, or Airtable). Track conversion rates by comparing clicks to final purchases through your affiliate program's reporting.
Download This Workflow
Free forever. Start tracking your affiliate clicks today.
Need help? Contact me
Requirements
- n8n instance - Self-hosted or DashNex
- SendGrid account - For email follow-ups
- Affiliate links - With ability to add tracking code
- Optional: Database - For storing click analytics