What Are Dynamic Parameters? #
Dynamic parameters are custom values you can add to your URLs (after the ?) that let you control how traffic behaves in real time. These parameters are especially useful when you’re cloaking, redirecting, or filtering traffic across multiple campaigns.
Think of them like hidden signals—tiny bits of info in the URL that tell TrafficShield how to handle each visitor.
Why Use Dynamic Parameters? #
Dynamic parameters help you:
- Segment traffic by country, device, ad network, or source
- Avoid bans by cloaking differently depending on who’s clicking
- Optimize campaigns by testing flows, landers, and redirects
- Track user behavior without relying on external scripts
- Control redirection logic in a flexible, automated way
Instead of hardcoding your funnel rules, you use parameters to stay agile.
Here are the 5 most common Dynamic parameters:
1. utm_source #
This identifies which platform or website the traffic is coming from.
Purpose: Track the source of your traffic.
Example:
utm_source=facebook
Full URL Example:
https://example.com?utm_source=facebook
Meaning: The visitor came from Facebook.
2. utm_medium #
This tells you how the visitor got to your site — the type of channel.
Purpose: Track the marketing medium (e.g., CPC, email, referral).
Example:
utm_medium=cpc
Full URL Example:
https://example.com?utm_source=facebook&utm_medium=cpc
Meaning: The traffic came via a paid ad (cost-per-click) on Facebook.
3. utm_campaign #
This helps track specific campaigns you’re running.
Purpose: Measure the performance of a specific marketing campaign.
Example:
utm_campaign=summersale
Full URL Example:
https://example.com?utm_source=facebook&utm_medium=cpc&utm_campaign=summersale
Meaning: This click came from the “summersale” campaign on Facebook CPC ad.
4. utm_term (Optional) #
Used for tracking keywords, mostly in paid search ads (e.g., Google Ads).
Purpose: Know which keyword brought the user.
Example:
utm_term=running+shoes
Full URL Example:
https://example.com?utm_source=google&utm_medium=cpc&utm_campaign=summersale&utm_term=running+shoes
Meaning: The visitor searched for “running shoes” and clicked your ad.
5. utm_content (Optional) #
Used to differentiate ads or links that point to the same URL — especially useful in A/B testing.
Purpose: Identify which ad or version performed better.
Example:
utm_content=cta_button
Full URL Example:
Meaning: The user clicked on a specific “Call to Action” button version of the ad.
Common Dynamic Parameters You Can Use #
Here’s a breakdown of the most commonly used dynamic parameters in TrafficShield:
- geo – Returns the user’s country code in ISO format (e.g., geo=US, geo=IN).
- device – Identifies the type of device the visitor is using (e.g., device=mobile).
- browser – Captures the browser type used by the visitor (e.g., browser=Chrome).
- campaign_id – Tracks which campaign directed the user to the page (e.g., campaign_id=1234).
- user_id – Useful for identifying individual users or test sessions (e.g., user_id=abc123).
How to Set Up Dynamic Parameters in TrafficShield #
Step 1: Go to Campaign Creation #
- Log in to your TrafficShield dashboard.
- Click on “Create Campaign” or edit an existing one.
Step 2: Configure Safe Page and Money Page #
- You will see two sections:
- Safe Page URL (for reviewers/bots)
- Money Page URL (for real users)
- Safe Page URL (for reviewers/bots)
These are where you’ll set dynamic variables
Step 3: Use Dynamic Variables in URLs #
- Define Custom Parameters: Set up your own variables based on the specific logic and structure of your campaign.
- Add Variables: Input the custom variable names you want to use for tracking or conditional logic.
- Assign Default Values: Provide fallback values for each variable to ensure consistent behavior when dynamic data is unavailable.
- Enable Tracking: Activate the tracking option to capture and pass these parameters through the campaign flow for analytics and optimization.
4. Save and Test #
Always test your setup by visiting the URL with the parameters added:
https://yourdomain.com/?geo=US&device=mobile&flag=offer
Testing Dynamic Parameters (Highly Recommended) #
Before going live:
- Visit your page with different parameter combinations
- Use multiple browsers and devices
- Test from different countries using a VPN or proxy
- Check logs in the TrafficShield dashboard
Example test URLs:
- https://yourdomain.com/?geo=IN
- https://yourdomain.com/?geo=US&device=desktop
You should see different behavior based on what you pass in the URL.
Best Practices #
- Use URL encoding when needed (avoid spaces or special characters)
- Don’t rely on one parameter alone—combine for stronger logic
- Keep your clean pages truly clean (no leaks or scripts)
- Keep your rules organized and labeled clearly in your dashboard
- Regularly audit your traffic and bot logs to improve filtering
