Skip to main content
The Traffic permissions page controls which traffic Cometly counts for the space you are in, and which domains count as a referrer. A space is one workspace in your account, with its own tracking data and settings. With traffic permissions in Cometly you choose which page views are kept before they reach your reports. This matters because traffic you do not want skews your numbers. Open the page when bots inflate your page views, when your own domains show up as referrals, or when you need to drop a specific kind of traffic.

Where to find it

Click Settings at the bottom of the left sidebar, then Traffic permissions under Workspace. The page is titled with the space name followed by Traffic Permissions, and every setting on it applies to that space only.
Traffic permissions settings page with an arrow on Traffic permissions in the Workspace menu, showing the Drop data-center traffic switch turned off and the Exclude domain from referrer source card with no domains added.
This is not where you add the domains your pixel runs on. Those are added in Setup, step 2. See Install the pixel.

Who can use it

The account Owner and members with the Administrator or Advertiser space role see Traffic permissions in the settings menu and can change everything on the page. Viewers do not see the menu item and cannot open the page.

Drop data-center traffic

A switch that discards page views coming from cloud and hosting provider IP addresses before they are counted, for when bots inflate your page views. It also drops some real visitors, so read Drop data-center traffic from your page views before you turn it on.

Exclude domain from referrer source

A list of domains whose visits Cometly does not attribute to the referrer source, such as your own domains or partner sites. Click Add Domain to add one, and see Exclude domains from the referrer source for the details.

Advanced traffic rules

This card, marked advanced, is a JSON editor. The card describes its contents as “Rules the tracker applies to this space’s page views before they are stored, attributed or billed, on every visitor address.” Leave the editor empty for no rules.
Advanced traffic rules card with the empty JSON editor showing its placeholder, the Save rules and Clear rules buttons, and the Reference panel listing the rule keys.
A page view that matches a rule is not stored, attributed or billed, and it cannot be recovered later. Real visitors who match a rule are dropped too. List only what you are prepared to lose.
We recommend you contact support before you save rules, because a rule drops every page view it matches, real visitors included.

What a rule does

Rules are written as one JSON object. Each key is a rule, and its value is a list. A page view that matches any value in a list is dropped. The Reference panel next to the editor lists the rule keys you can use: The Reference panel shows this sample of the format (it is also the editor’s placeholder text). It is a format sample, not a recommendation:

Limits

  • Up to 20 tags per list, 35 characters each.
  • Unknown keys are rejected.
  • The text in the editor can be at most 5,000 characters.

Save or clear rules

1

Edit the JSON

Type or paste your rules into the editor. The note unsaved changes appears next to the buttons.
2

Save

Click Save rules. You see Traffic rules saved. The tracker applies them from the next page view.Cometly tidies what it stores: duplicates are removed, _ in a language tag becomes -, platforms are saved in lower case, and a rule with an empty list is left out. The editor then shows the stored version.
3

Clear the rules when you no longer need them

Click Clear rules. All rules are removed at once, with no confirmation dialog, and you see Traffic rules cleared. Saving an empty editor or {} does the same.
Changes reach the tracker immediately. If you see Rules saved, but the tracker could not be notified. They take effect within 12 hours. instead, the rules are saved and start applying within 12 hours.

Validation messages

If the text is not accepted, nothing is saved and a message appears in red under the editor.
Advanced traffic rules card with a box around the editor, where the text test was rejected and the red message Not valid JSON: Syntax error. appears under it.

Frequently asked questions

Do traffic permissions apply to all my spaces in Cometly?

No. Every setting on the page applies only to the space you are in. To use the same settings in another space, switch to that space and set them there.

Do traffic rules remove page views that were already tracked?

No. Rules are applied to page views as they arrive, before they are stored, so a rule starts with the next page view after you save it. Page views recorded before that stay in your data.

Are page views dropped by a traffic rule billed?

No. A page view that matches a rule is not stored, attributed or billed. It also cannot be recovered later, so list only traffic you are prepared to lose.

Next steps

Still have questions or need a hand? We’re happy to help. Reach our team at support@cometly.com.