Skip to main content

Tag Types and Environments

FraudSensor uses detection tags to collect post-bid signals and analyze impression quality. Rather than taking a one-size-fits-all approach to detection, we tailor our signal collection to provide coverage in a variety of scenarios. Each tag type offers different strengths and weaknesses, including the number and quality of signals collected, which ad formats are supported, and the environments where the tag can be deployed.

Tag types

There are two main types of detection tags: JavaScript-supported detection tags and non-JavaScript pixel tags.

JavaScript tags

JavaScript tags are FraudSensor’s primary tag type. In order to function properly, these tags must be deployed in a JavaScript-enabled environment.

JavaScript tags include the following components:

URL
The URL of the server that delivers the tag.
analytics.js
A script that loads FraudSensor's main payload.
parameter list
The tag parameters built into the body of the tag, included as key=value pairs separated by an ampersand (&) character. These parameters should be populated by your ad server.
async
A Boolean that dictates whether the tag should load asynchronously from other page content. If its value is set to true, loading the FraudSensor script will not slow down overall pageload times.

Pixel tags

Pixel tags offer a “slimmed-down” version of FraudSensor. Pixel tags collect basic information using a server-side GET request and the parameters passed through the tag. Although these tags offer limited functionality, they are useful in situations where JavaScript tags are not supported.

Pixel tags include the following components:

URL
The URL of the server that delivers the tag.
analytics.gif
The actual pixel image (in GIF format).
parameter list
The tag parameters built into the body of the tag, included as key=value pairs separated by an ampersand (&) character. These parameters should be populated by your ad server.

Feature comparison

Although JavaScript tags and pixel tags both collect signals in support of FraudSensor's traffic analysis, each tag type functions differently and offers unique capabilities.

The maximum time it takes for FraudSensor’s detection tags to finish collecting signals per impression.

  • JavaScript tags: FraudSensor grants JavaScript tags a maximum of two minutes to fully collect signals for each impression. However, most JavaScript tags will finish collecting signals in far less time. (Also note that JavaScript tags load asynchronously, so the amount of time it takes to collect signals should not impact overall site performance.)
  • Pixel tags: Pixel tags finish collecting signals as soon as the tag is loaded.

Environments and ad formats

To get the most out of FraudSensor, it's important to choose the right type detection tag to deploy alongside your ad.

In desktop web environments, we recommend the following tag types for each ad format:

  • Banner ads: JavaScript tag
  • Rich media: JavaScript tag
  • Audio (VAST 4.1): JavaScript tag
  • Video (VAST 4.X): JavaScript tag
  • Video (all others): Pixel tag
  • Native ads: JavaScript tag