Personalizing for Referral Traffic
Back to Documentation
Quick Reference
- Understanding Referral Traffic
- Setting Up Referrer Rules
- Basic Referrer Setup
- Example Configuration
- Personalizing for Ad Traffic
- Capturing UTM Parameters
- Aligning with Ad Messaging
- Social Media Referrals
- Platform-Specific Content
- Implementation Example
- Partner Website Traffic
- Best Practices
- Measuring Effectiveness
- Real-World Examples
- E-commerce Store
- SaaS Product
- Content Site
Create targeted experiences for visitors coming from ads, social media, and partner sites to boost engagement and conversions.
Understanding Referral Traffic
Referral traffic includes visitors who arrive at your site from:
- Paid advertisements (Google Ads, Facebook Ads, etc.)
- Social media platforms (organic posts)
- Partner websites and blogs
- Directory listings
Setting Up Referrer Rules
Basic Referrer Setup
- In your SwapTopic dashboard, create a new personalization
- Select Rule Type → Referrer
- Choose one of the following options:
- Domain: Enter specific domains (google.com, facebook.com)
- Contains: Enter partial domain matches (google, fb)
- Match Type: Choose “exact” or “subdomain” matching
Example Configuration
Rule Type: Referrer
Domain: facebook.com
Match Type: subdomain
This will match traffic from facebook.com, m.facebook.com, etc.
Personalizing for Ad Traffic
Capturing UTM Parameters
For more precise ad targeting:
- Select Rule Type → URL Parameters
- Target specific UTM parameters:
- utm_source (google, facebook, instagram)
- utm_medium (cpc, display, social)
- utm_campaign (spring_sale, new_product)
Aligning with Ad Messaging
Create content that continues the message from your ads:
- Use similar headlines and value propositions
- Maintain visual consistency with ad creatives
- Reference specific offers mentioned in ads
- Pre-fill form fields based on ad parameters
Social Media Referrals
Visitors from social platforms have different expectations:
Platform-Specific Content
- Facebook: Focus on social proof and community
- Instagram: Emphasize visuals and lifestyle benefits
- Pinterest: Highlight DIY, collections, and visual discovery
- LinkedIn: Focus on professional benefits and business value
- Twitter: Keep messaging concise and direct
Implementation Example
Rule Type: Referrer
Domain: instagram.com
Variation: "As seen on Instagram! Shop our most-liked styles"
Partner Website Traffic
For visitors coming from partner sites or guest posts:
- Acknowledge the partnership
- Offer exclusive partner benefits
- Continue the conversation from the referring site
- Maintain contextual relevance
Best Practices
- Message match: Ensure your personalized content aligns with what visitors saw before clicking
- Reduce friction: Pre-select options based on referring source
- Segment wisely: Create broad segment patterns first, then refine
- Monitor changes: Referral patterns change as platforms evolve
Measuring Effectiveness
Track these metrics for referral personalizations:
- Bounce rate by referral source
- Time on site for personalized visits
- Conversion rate by referrer
- Return visits from the same source
Real-World Examples
E-commerce Store
Referrer: pinterest.com
Heading: "Inspired by Pinterest? Shop the look!"
CTA: "See more Pinterest favorites"
SaaS Product
Referrer: producthunt.com
Heading: "Welcome Product Hunt community!"
CTA: "Get your exclusive Product Hunt offer"
Content Site
Referrer: google.com
UTM Medium: organic
Heading: "Found exactly what you were searching for?"
CTA: "Explore related topics"