Overview
Traffic rules let you change how Triple Pixel treats visits that meet specific conditions. You can exclude a matching visit from attribution or assign it to a channel.
Attribution assigns purchase revenue credit to sources in a customer's journey. Triple Pixel uses signals such as tracking parameters and referring sites to identify those sources.
Use a rule when a signal needs different treatment. For example, a payment platform may appear as a referral, or a partner link may need a custom channel.
What you will do
Open Traffic Rules.
Review the recommended rules.
Create a custom rule if needed.
Test with your own URLs and referrers.
Check priority if rules overlap.
The setup instructions come first. Definitions, example configurations, and troubleshooting answers follow where you need them.
Before you begin
Have these details ready:
The shop whose rules you want to manage.
A real page URL, referrer, or tracking value you want to match.
The result you want: exclude the visit or assign it to a channel.
If you cannot explain why a source needs different treatment, inspect its Customer Journey before creating a rule.
Video walkthrough
Watch the setup, testing, and priority workflow. You can also complete the process using the written steps below.
1. Open Traffic Rules
Open Settings.
Select Traffic Rules under Store Configurations.
Find Test Traffic Rules, your custom Traffic Rules, and the recommended Triple Whale Rules.
You should see: the rule-testing fields and both rule sections.
2. Review the recommended rules
The Triple Whale Rules section contains predefined rules, also called global traffic rules. These cover situations shared by many shops.
Find the Triple Whale Rules section.
Expand a rule relevant to the traffic you want to change.
Review its conditions and action.
You should know: whether a recommended rule already provides the treatment you need. Create a custom rule only if your shop needs different treatment.
For example, Exclude Payment Platforms excludes matching payment referrals. The Klaviyo rule assigns traffic with its recognized URL parameter to the Klaviyo channel.
We recommend keeping Triple Whale Rules enabled. The section's toggle lets you turn the set on or off.
Recommended rules do not cover every shop-specific referral pattern. If your own domain still appears as a source, see the troubleshooting answers below.
3. Create a custom rule
A rule follows this pattern: if a visit meets the conditions, apply the action.
For example: if the referrer contains your blog's hostname, exclude that visit from attribution.
Set the first condition
Select Add Rule in the custom Traffic Rules section.
Choose the source that contains the information you want to check.
Choose the comparison that defines a match.
Enter the value you want to match.
Use this guide to choose each setting:
Setting | What to choose | Example |
Source | Page URL for a landing-page link; Referrer for the site or page sending the visitor. | Referrer |
Comparison, also called an evaluator | Contains, Does not contain, Is, or Is Not, depending on the match you need. | Contains |
Value | Specific text already present in the source. |
|
You should have: one condition that describes the traffic you intend to change.
Add another condition, if needed
Skip this part if one condition is enough.
Select + Add Condition.
Configure the additional condition.
Choose Or or And between the conditions.
Choice | What it means | When to use it |
Or | Either condition can match. | Exclude a referral from either your blog or your quiz. |
And | Both conditions must match the same visit. | Match a referrer only when the landing-page URL also contains a chosen parameter. |
Conditions apply to the visit being evaluated. And does not mean that two separate events must occur somewhere in the customer's journey.
Choose the action and save
Choose the action that matches your goal:
Action | What it does | Use it when |
Exclude / Ignore | Excludes the matching visit from attribution. | A referral should not receive its own attribution credit. |
Assign to Channel | Classifies matching traffic under a selected channel. | A recognizable link value needs a specific source category. |
Select the action for your rule.
If you chose Assign to Channel, select a channel in the channel field.
If assigning a channel, select a matching result or + Create for the new name.
Select Save.
WARNING: Saving an enabled rule changes attribution for future matching visits. Disabling it does not automatically undo changes already applied.
You should see: a success message confirming that the rule was saved.
Exclude / Ignore affects attribution. It does not block visitors or delete orders.
Example settings: exclude blog and quiz referrals
Use these settings in the steps above if those referrals should not receive separate attribution credit.
The domains below are fictional examples. Replace them with your own values; do not exclude every blog or quiz by default.
Setting | Example value |
First condition | Referrer → Contains → |
Relationship | Or |
Second condition | Referrer → Contains → |
Action | Exclude / Ignore |
Result to test: a referral from either hostname satisfies the rule.
Example settings: assign creator traffic to a channel
Use a unique tracking value from links you actually distribute. The parameter and channel name below are fictional examples.
Setting | Example value |
Source | Page URL |
Comparison | Contains |
Value |
|
Action | Assign to Channel |
Channel |
|
Result to test: a page URL containing the parameter matches the rule's channel action.
Creating a rule does not add tracking parameters to your links. The value must already exist in the source the rule checks.
4. Test with your own traffic
Use Test Traffic Rules to evaluate a real page URL and its referrer. A URL from an order's Customer Journey is a useful starting point.
Enter the test inputs
Paste the full page URL into Test URL.
If your condition checks the referrer, enter the referring address in Referrer (optional).
Select Test All Rules.
Test URL is required, including for referrer-based rules. Keep relevant tracking parameters in the URL.
Entering only your store's URL does not test where the visitor came from. A referrer condition needs the referring address in the separate field.
Check the result
Review Rule Evaluation Results for matching rules.
Check the applied rule and action under Final Result.
Repeat with an input that should not match your rule.
You should see: your intended rule and action for the matching input. The nonmatching input should not trigger that rule, although another rule may apply.
If a different rule matches first, continue to stage 5.
Other test controls:
Test Rule focuses the tester on the selected rule.
Clear resets the test inputs and results.
Clear inputs from a previous test unless they belong to the visit you are evaluating.
A test evaluates only the values you provide. It does not update historical attribution or confirm that a real visitor followed that path.
5. Check priority when rules overlap
During traffic rule evaluation, rules run from top to bottom. The first matching rule applies its action, and rule evaluation stops for that visit.
For example, a visit could match both a blog exclusion and a creator parameter. The first matching rule determines which action applies.
If you need to change that order:
Find the six-dot handle beside the custom rule.
Drag the rule to its intended position.
Repeat the test with Test All Rules.
You should see: the intended order in the list and the expected rule in Final Result for overlapping test inputs.
Reordering does not change the conditions. Rule order also does not describe every automatic classification step, including Affluencer classification.
Understand the settings
Key terms
Term | Meaning |
Attribution | Assigning purchase revenue credit to sources in a customer's journey. |
Traffic event | A page visit evaluated against a rule's conditions. |
Channel | A source category used to group traffic, such as Klaviyo or a custom creator channel. |
Referrer | The site or page that sent the visitor to the page being evaluated. |
Tracking parameter | A value added to a URL to identify information about the visit, such as its source or campaign. |
Condition | A test that determines whether a visit qualifies for a rule's action. |
For background, see How the Triple Pixel works.
FAQ's
How do comparisons and values affect matching?
Comparison | When it matches |
Contains | The source includes the value, even when other text appears before or after it. |
Does not contain | The source does not include the value. |
Is | The entire source value matches the value you entered. |
Is Not | The entire source value does not match the value you entered. |
For example, Contains can find tw_demo_partner=paperstudio within a longer URL. Is requires the entire source to match, not only that parameter.
Does not contain and Is Not are different. A longer URL can contain your parameter while still not being an exact match for that parameter alone.
Choose a specific value. blog.stationaryco.com identifies a hostname; blog is a broader text match that may include unrelated traffic.
Should I exclude an intermediate referral or assign it to a paid channel?
Use Exclude / Ignore when an intermediate referral should not receive its own credit. Use Assign to Channel to classify a recognizable marketing source.
A landing page can appear as a referrer after an ad click. That referrer alone does not identify the original paid source.
Do not assign it to Meta or Google only because you expect the visit came from an ad.
Excluding the referral does not create a missing ad click or guarantee that credit moves to a particular channel.
Check whether the original marketing click appears in the Customer Journey. Traffic rules cannot supply a click that was not captured.
For how models distribute revenue credit, see Attribution models in Triple Pixel.
How many custom traffic rules can I create?
You can create as many custom traffic rules as you need. There is no limit on the number of custom rules.
Keep the list organized. During rule evaluation, the first matching rule applies its action, and evaluation stops for that visit.
Test overlapping rules with Test All Rules to check which one applies.
Do traffic rules update historical attribution?
Traffic rules apply to future matching visits after activation. Creating or editing a rule does not automatically reprocess historical attribution.
Disabling a rule affects future visits. It does not automatically undo changes already applied to earlier visits.
Contact Triple Whale Support with affected dates and example orders if you need previously processed traffic reviewed.
Support can review whether historical reattribution is possible. A rule change alone does not guarantee historical recovery or reassignment of past sessions.
Troubleshoot unexpected results
Why does my own domain still appear as an attribution source?
Recommended rules cover shared situations, but not every shop-specific referral pattern. Your store, subdomains, or checkout flow may need different treatment.
Inspect the page URL and referrer in the Customer Journey.
Identify whether the source represents marketing traffic or an intermediate step.
Create a custom exclusion only if that specific referral should not receive its own attribution credit.
Do not exclude every internal domain without reviewing its role. A broad exclusion can remove events you intended to retain.
Why does my traffic rule not match in the tester?
The test inputs must contain the information your traffic rule checks.
Check that Test URL contains the full page URL and relevant parameters.
Enter the actual referring address if the rule checks Referrer.
Compare the rule value with the input, including spelling and punctuation.
Check whether the comparison matches part of the source or the entire value.
Review whether the conditions use And or Or.
Select Test All Rules to check whether another rule matches first.
Expected result: matching inputs trigger the intended rule; inputs without the required value do not trigger that rule.
Why does the tester match, but my attribution report still looks wrong?
A passing test confirms a match for the inputs you entered. It does not confirm that an earlier visit contained those same values.
Older orders can still reflect traffic processed before the rule was active. The tester does not update that history.
Open an affected order's Customer Journey.
Compare its actual page URL and referrer with your test inputs.
Check whether the relevant visit occurred before or after the rule was enabled or changed.
Review the rule and action in the tester's Final Result.
Check the report's date range and attribution model.
Expected result: you can identify the actual traffic event, its timing, and the classification you expected.
If those details do not explain the difference, contact Support. A passing test alone does not establish the cause of a reporting issue.
Why does creator traffic appear under Affluencer instead of my custom channel?
Triple Whale can automatically classify traffic under Affluencer when a link contains one of these utm_medium values:
influenceraffiliateaffluencer
Check the full link for these values if your custom channel does not receive the traffic you expect.
Do not assume that moving a custom rule to the top overrides automatic Affluencer classification. Review the tracking setup before changing parameters.
See Set up affiliate and influencer tracking with Affluencer Hub for tracking options and parameter guidance.
If you still need different classification, contact Support with the full link, the rule, and your expected channel.
Why does excluded traffic appear as Direct instead of the paid channel I expected?
Excluding an intermediate referral does not guarantee that a paid channel receives credit. The original paid click must also have been captured.
Check the Customer Journey for that click. Assigning the intermediate referral to a paid channel does not establish a missing source.
Contact Support with an example order and the original campaign link if you need help investigating.
What should I send Support about a traffic rule issue?
Contact Triple Whale Support through the in-app chat. Include the details below so the team can compare the rule, actual visit, and report.
Information | What to include |
Shop and rule | Shop, rule conditions, action, enabled status, and position in the list. |
Actual traffic | Full page URL and referrer, including relevant tracking parameters. |
Test | Inputs, applied rule, and result. |
Expected outcome | Expected channel or exclusion, compared with the actual classification. |
Examples | Order IDs and affected dates. |
Report | Date range and attribution model. |
Changes | When you created, edited, or disabled the rule, if known. |
If you need historical attribution reviewed, include the requested date range. Support will review what is possible; a new rule does not automatically update earlier data.

