Submit a Ticket My Tickets
Login  Sign up

How to Enable ForensiQ Click and Conversion Scoring in CAKE

Forensiq protects against high risk traffic sources and provides real-time predictive quality scoring for each visitor action. With the industry's largest fraud intelligence database, Forensiq offers incredibly effective solutions to fight affiliate fraud, cookie stuffing, click fraud, and display fraud.  Our integration with Forensiq allows you to see click, conversion and lead scores in real time.  You also have advanced rules and invalidation settings to send fraudulent traffic away from an Offer or Campaign in real time.

This article will cover the following:

- Setup of Forensiq within CAKE

- Place the Global Pixel in CAKE

- Where to set Offer and Campaign level Click and Conversion Invalidation settings

- Sequence of Evaluation for Conversions and Clicks

- Where to find Reports containing Conversion Score

- Fraud Disposition Reporting



In order to leverage Forensiq scoring in CAKE, you must first enable it under Setup> Settings> Third Party Integrations

On the Settings page, please add your 1) Forensiq Org ID and 2) API Key and click Save.

Enable Global Pixel

If you haven't already, you will need to activate the Global Pixel feature by ticking the 'Global Pixel' option in Setup>Settings> Tracking Settings - Global Pixels & Postbacks.

Then, under the Global Pixel box, enter in the Forensiq pixel format below (you must first have the enable Global Pixel checkbox set):

Place the Global Pixel

In order to enable the scoring visibility updates in CAKE, you must modify the Forensiq  Pixel to support an API call:

<script async src=" CPAD_ORG_ID&rt=action&s=#reqid#&p=#affid#&a=#s1#&cmp=#oid#&c1=#leadid#"></script>
<img src=" CPAD_ORG_ID&rt=actionImg&s=#reqid#&p=#affid#&a=#s1#&cmp=#oid#&c1=#leadid#" width="1" height="1" border="0" />

  • The “rt” parameter must be set to “action” value (if this was already implemented, it probably said &rt=3_clickJS or &rt=0_clickJS).
  • The “org” parameter must be set when you place the pixel – so, replace Forensiq CPAD_ORG_ID with your Forensiq  Org ID.

Once you save those settings, the feature is now available in your conversion report.

Offer Card - Conversion Invalidation

When a Conversion Occurs that is scored at or above the Conversion Invalidation Threshold, we utilize the Offer Level configuration for ‘Conversion Behavior on Redirect’ and fall back to this same setting at the Global level.

Reporting follows the same patterns established above. 

Example: Conversion Behavior on Redirect (Offer) = ‘Ignore Conversion’ and Conversion Invalidation Threshold = 60.

When a Conversion occurs at or above a score of 60, that conversion would be ignored. 

  • Click scoring - do not call forensiq and do not redirect traffic -  Set Click invalidation threshold = NULL
  • Click scoring - call forensiq but do not redirect traffic - Set Click invalidation threshold = 100
  • Click scoring - call forensiq and redirect traffic when the threshold is exceeded - Set Click invalidation threshold  < 100

Campaign Card - Conversion Invalidation

Enter a value between 0-100 to indicate the threshold for Conversion Invalidation.  For example, entering a value of '50' would mean that all the conversions for this campaign scored at 50 or above would be handled based on the "Conversion Behavior on Redirect' configuration found on the Redirect subtab of the Home tab on the Offer Card.

For Hosted offers, 'Invalidated Conversions' will be sent to the Review Queue.  For Host-n-Post offers, 'Invalidated Conversions' will be Rejected.

Click Redirection - Rules

Create Rule Targets based on Click Score.  Simply enter the minimum and maximum score values to redirect traffic that falls within that range.  You can setup multiple targets based on different scores ranges.

Sequence of Evaluation - Conversions

Following CAKE’s typical hierarchy, the Conversion Invalidation Threshold is evaluated on the Campaign first, then the Offer.

For example, if a Campaign level threshold is 90, and the Offer is set to 80, a score of 90 and above would trigger the Campaign Redirect (unless none is set). A score below the Campaign Threshold would trigger evaluation at the Offer Level.

Or, if a Campaign involves a questionable publisher, a client may set the Campaign Threshold very low, indicating a low tolerance for risky conversions, while setting the Offer Very high, indicating that some risk is palatable.

Sequence of Evaluation - Clicks

Click Invalidation:

CAKE first evaluates the Offer Level configuration, “Click Invalidation Threshold”, determining if a click score for that Offer was exceeded. Normal redirection hierarchy.

CAKE then evaluates any ‘Click Score’ Rule Targets. 


For example, if I have set the Offer to 80, and a rule Target for a range of 65 – 79, we will first evaluate the click against the 80, then the Rule.

  - If 80 or above = Redirect specified at the Offer Level

  - If 65-79 = Redirect URL specified via Rule Target

  - If 64 or less = Party on Wayne

Reminder, there is not a Campaign level override for Clicks, only Conversions.

 Reporting Updates

There are 3 fields in the various reports in order to support the new Forensiq  Fraud Score:

  1. Conversion Score Average – This is the average fraud score based on the aggregate number of scored conversions. So, if I had 2 conversions, a fraud score of 0 and 50, the Conversion Score Average would be 25.
  2. Conversion Score – This is on the Conversion Report and shows the individual fraud score from Forensiq .
  3. High Risk Conversions - When a conversion's risk score falls between 80-100, we mark that conversion as high risk.

Note: The Forensiq  fraud scores will be updated by batch. This means that while the CAKE conversion is recorded and displayed in real time, the fraud score updates occur on 10 minute intervals.

As an example, you may have 10 conversions logged that should reflect fraud scores. These 10 conversions will be displayed in the various reports in real time, but the fraud score column will display “Not Processed”. On a running 10 minute interval, those 10 conversions will be updated via batch API call and scores updated.


The following reports have this fraud score or High Risk Conversion added as a new columns:

Conversion Average Score:

  • Affiliate Master
  • Sub Affiliate
  • Campaign
  • Offer

Conversion Score:

  • Conversion


High Risk Conversions:

  • When a conversion's risk score falls between 80-100, we mark that conversion as high risk.
  • Affiliate, SubAffiliate, Campaign and Offer reports all display a new 'High Risk Conversions' column that includes a count of all conversions per entity that fell between 80-100 (risk score.)
  • This column is off by default and can be enabled through custom views.

High Risk Conversions (Example from Master Offer Report)

Fraud Disposition Reporting

From the Affiliates/Advertisers> Stats> Technology> Fraud Disposition you will be able to see a Fraud disposition breakdown across conversions for a given date range.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.