Technical Specification of the Solution
Description of Methodology • Last updated: 30.10.2026
1. The TrafficWatchDog (TwD) system – description of the functionalities provided
TrafficWatchDog (TwD) is a system operating in the area of detecting online/mobile fraud and marketing abuse for advertising formats of the CLICK and LEAD type. TwD collects and analyses the parameters of a click and/or lead (pseudonymous data) from individual paid sources and, on the basis of the parameters collected, assesses the click/lead:
-
CLICK Scanner (of which Google Ads Scanner and Facebook Scanner are part) – identification of "invalid clicks" in accordance with the IAB (Interactive Advertising Bureau) Click Measurement Guidelines standards:
"Invalid Clicks arising from suspected “click fraud” are a sub-component of Invalid Clicks and originate from a user, program or automated agent (e.g., Internet robot or spider) that accesses a URL for the purpose of manipulating click measurement activity or click-based advertising payments, having no intention of legitimately browsing site content, making a purchase or performing any other type of legitimate conversion action. Suspected click fraud can arise from both human-initiated and application-initiated automated activity; also, suspected click fraud can arise from invalid Ad Impression activity. Click Fraud also includes situations where a user is unwillingly, or tricked into, accessing information(for example, user “virus” infected activity, or auto-clicking functions)."
-
GOOGLE ADS Scanner (part of Click Scanner) – identification of "invalid clicks" in Google Ads campaigns, in accordance with the IAB (Interactive Advertising Bureau) Click Measurement Guidelines standards:
"Invalid Clicks arising from suspected “click fraud” are a sub-component of Invalid Clicks and originate from a user, program or automated agent (e.g., Internet robot or spider) that accesses a URL for the purpose of manipulating click measurement activity or click-based advertising payments, having no intention of legitimately browsing site content, making a purchase or performing any other type of legitimate conversion action. Suspected click fraud can arise from both human-initiated and application-initiated automated activity; also, suspected click fraud can arise from invalid Ad Impression activity. Click Fraud also includes situations where a user is unwillingly, or tricked into, accessing information(for example, user “virus” infected activity, or auto-clicking functions)."
The Google Ads Scanner system additionally makes it possible to automatically block the click-fraud against the Client's Google Ads ads by the same users and to block invalid clicks in the Client's Google Ads campaigns.
- FACEBOOK Scanner (part of Click Scanner) – identification of "invalid clicks" in the Client's Facebook Ads campaigns, in accordance with the above IAB (Interactive Advertising Bureau) Click Measurement Guidelines standards.
-
SCANNER AFILIACJI (of which LEAD Scanner is part) – identification of affiliate abuse and, within LEAD Scanner, "invalid leads" in accordance with the IAB (Interactive Advertising Bureau) Online Lead Generation standards:
"Lead fraud occurs when leads are submitted with malicious intent or simply for financial gain. These leads should be deemed invalid, and advertisers and agencies should not pay for these leads. Although uncommon, there have been cases when offers are filled out by an artificial, automated system to generate a large quantity of leads. Consumers or companies may also fraudulently fill out offers."
Main functionalities provided:
- Full 24/7 monitoring of all sources delivering paid clicks/leads for the Client.
- Automatic analysis of ads and clicks in Google Ads.
- Detection and analysis of the user's device – based on the so-called virtual device fingerprint (DEVICE FINGERPRINT).
- Identification of the country of origin of the click/lead and of IP providers.
- Automatic blocking of click-fraud against ads in Google Ads by suspicious/fraudulent IP addresses.
- Automatic blocking of click-fraud against ads in Google Ads by suspicious/fraudulent devices (DEVICE FINGERPRINT identification).
- Automatic blocking of click-fraud against ads in Google Ads by suspicious/fraudulent "cookies".
- The ability to set and adjust individual rules for automatic blocking of click-fraud against Google Ads campaigns.
- Complaint reports on invalid clicks and leads for the sources delivering paid clicks/leads.
- Complaint report on invalid clicks for Google Ads.
- Periodic reports sent to a specified e-mail address.
- Detailed information for each verified click/lead – including an analysis of the behaviour of the potential user/bot on the monitored website.
- Online access to the Client Panel.
2. Technical architecture of the TwD solution
The system consists of the following components:
- TwD tracking script – an application responsible for collecting the parameters used to assess clicks/leads.
- Webservice – an application installed on the TwD server, to which the data collected by the script are sent
- Database
- Server
- AI – a neural network performing the data analysis
- Client Panel – the Client's front end for presenting the results of the TwD system's operation.
3. How the TwD codes work
The operation of the dedicated tracking codes is adapted to the structure of the Client's target monitored website – on which the prepared fragments of HTML code containing JavaScript scripts and pixels are implemented, which optimally, if placed in the designated target locations of the monitored website, go directly in the code of the monitored page (the so-called page "body"). The TwD scripts are launched only after the user has given consent in the "Marketing" category in the Client's consent management tool (CMP). Until consent is given, the script neither writes nor reads data on the user's device and does not send data to TwD. The scripts are executed solely on the user's side, in their browser.
Implementation of the prepared JavaScript tracking code/pixels on the Client's target monitored website may also take place via the GTM (Google Tag Manager) system. The scripts are executed solely on the user's side, in their browser. Where the TwD codes are implemented via GTM, loading of the TwD codes will depend on the support of GTM by the user's browser (some browser versions block GTM). This may mean "losses" in the number of monitored clicks/leads. Where implementation is via GTM, launching the TwD codes must additionally depend on the user's consent given in the Client's CMP.
After the user has given consent, the TwD scripts and code elements launch while the website loads. They also operate in the background while the user works on the website, using the handling of events generated by elements of the website. Data are sent when a completed form (lead) is submitted using the POST method, or using the GET method where an image is placed on the page.
The data are sent to the target server, where they are analysed. The results of the analysis are available in the dedicated Client Panel of the TrafficWatchDog service.
4. Technical implementation of the TwD codes
The implementation process and system architecture consist of the following elements:
On the TrafficWatchDog side:
- Development of the target TwD code (JavaScript file/pixels) – responsible for data collection, adapted to the specification of the monitored website
- Webservice – launching the application installed on the TrafficWatchDog server, to which the information collected by the TwD code will be sent using the HTTPS protocol
- Server – storage of the collected assessment parameters
- Neural network – calibration of the model and of the algorithms for data analysis and record assessment
- Providing a dedicated Client Panel – in which the results of the analysis can be analysed online / complaint reports can be created for e.g. Adwords, etc.
On the Client's side – the owner of the monitored website:
- Pasting the dedicated TwD code (JavaScript/pixels) into the target website
- It is up to the Client to decide on which websites the TwD code will be implemented – the code may be placed only on selected pages/so-called micro-sites that are to be analysed (e.g. selected campaign landing pages – so-called marketing micro-sites). Pages treated specially for security reasons, such as the Client's administration panel or shopping or transaction pages, may be excluded from the analysis (no TwD codes embedded).
- Depending on the Client's decision – using the JavaScript script hosted on the TrafficWatchDog server or placing the JavaScript file on the monitored website's own server.
5. Impact of the TwD codes on the architecture of the monitored target website
The implemented TwD codes have no impact on the architecture of the target monitored website. The JavaScript scripts/pixels are executed solely on the user's side, in their browser. There is no impact on user experience in terms of page loading speed, etc. (tests with the tool: https://developers.google.com/web/tools/lighthouse)
The embedded scripts in no way affect the login path to the Client's transactional systems, etc.
6. IT security
The TwD codes placed on the Client's target website collect parameters that are generated while the website is used. It should be noted that the data are collected in a pseudonymous manner (on the basis of technical identifiers, without first name, surname or content typed into forms), and TwD does not hold data enabling direct identification of the user and does not link them to the profile of a specific person.
All data are transferred to and stored on TwD's internal servers (with the exception of data transferred to external providers used in the analysis, i.e. the Google reCAPTCHA v3 service and an external IP address database) – multi-level security measures are applied. Between the script running in the user's browser and the data-collecting server, communication takes place over an encrypted HTTPS channel (SSL TLS 1.2 with a 2048-bit key). The data are then processed on the application server, which is the only one with a direct connection to the public Internet. It is protected by a Stateful Packet Inspection (SPI) firewall with Login/Intrusion Detection and protection against BruteForce attacks. After processing, the data are stored in an internal database, which is accessible only from the internal network. Logging in to all servers is possible solely with individual 4096-bit RSA keys.
The implementation standards applied follow the information security standard PN-ISO/IEC 27002:2014-12 as regards information security organisation, access control, cryptography and communications security.
7. Categories of parameters analysed
Categories of analysed parameters:
- URL data
- Visit data
- IP parameters
- Browser parameters + browser fingerprint
- System parameters
- Device parameters + device fingerprint
- User behavioural parameters
- Script handling
- Google reCaptcha v3 parameters (optional)
- Session data
8. Parameters analysed – benchmark
Examples of parameters collected by the TwD monitoring codes. In order to protect the security of the TwD monitoring processes against breach or attempts at circumvention, the full list of monitored parameters in the individual areas examined is not presented.
URL/page and visit data
- page URL
- elements on the page
- loading of page data
- cookie handling
- visit identifiers
- number of visits
- data transmission time
- page refreshing
IP analysis
- identification of the internet service provider (ISP)
- geolocation
- connection identification – proxy, VPN, TOR network, data centre infrastructure
- GSM network
- WebRTC with local IP numbers
Browser parameters
- browser name
- browser version
- user agent
- browser engine
- error handling
- function support
- window size
- installed plug-ins
System parameters
- system name
- system version
- resolution
- display settings
- system settings
- set of fonts
Device parameters
- microphone
- speakers
- sound card
- camera
- WiFi
- bluetooth
- device orientation (e.g. portrait/landscape)
- processor
- platform
- screen type
Device fingerprint
- A unique identifier making it possible to determine the uniqueness of the device
Browser fingerprint
- A unique identifier making it possible to determine the uniqueness of the browser
- Audio context fingerprint
- Canvas fingerprint
User behavioural analysis
- cursor coordinates
- scroll
- types (categories) of keys pressed and their number – without the content of the text entered
- timing of events on the page
- interaction with elements
- time spent in form fields
- number of characters in form fields – without their content
- field handling
Script handling – site rendering
- the way the script is downloaded and launched
- script errors
- data sending time
- data sending methods
- script checkpoints
Google Score
- Google reCaptcha v3 score
Session data
- Identification of visits on the basis of a cookie identifier or fingerprint
- Number of visits
- Number of pages
- Frequency and repeatability of visits
9. Click audit methodology
Methodology of carrying out click audits by the TwD system – in accordance with the guidelines of the IAB organisation (the "Click Measurement Guidelines" document, Version 1.0, Final Release May 12, 2009 [1]).
Description of the click audit process
For the purposes of the click and lead audit carried out, the TwD system provides the CLICK SCANNER service (including GOOGLE ADS SCANNER and FACEBOOK SCANNER) and SCANNER AFILIACJI (including LEAD SCANNER), verifying and assessing each click and lead recorded by the TwD system for potential irregularities.
The TwD system operates on the basis of the following technologies:
- Analysis of system/browser parameters – analysis of bots/programs/scrapers impersonating various types of systems and browsers which, once checked, do not match the attributes of the given type of system or browser. Verification of bot lists.
- Identification of advanced browser automation tools such as Selenium and PhantomJS.
- Device Fingerprinting – unique device identifiers
- Canvas Fingerprinting – unique browser identifiers
- Machine learning – classifiers and artificial intelligence algorithms.
- Bot "honeypots" – "traps" identifying bots operating on the website.
- User behavioural analysis (UBA) – behavioural analysis to identify unnatural patterns of user behaviour on the monitored website.
- IP analysis – analysis of geolocation, addresses and IP providers. Identification of IP addresses generated by data centres, TOR services, VPNs and proxy servers. Identification of IP addresses on IP blacklists.
- Google reCAPTCHA v3 API – identification of bot vs human behaviour.
- Visit data analysis – analysis of URL parameters and cookies.
- Tamper proofing – "proof of work" algorithms performing tasks that can be completed during natural use of a browser.
- Site rendering monitoring – analysis of the handling of JavaScript scripts on the monitored website with regard to the rendering of the target page.
The TwD system measures clicks called Resolved Clicks (see point 2.4 [1]), which occur when the click received launches the Advertiser's target website or another page intended to provide the Advertiser with a commercial interaction with a potential user.
In the click audit, data are processed in a pseudonymous manner – data directly identifying a person (such as first name, surname or e-mail address) are not collected, although the IP address, cookie identifiers and the device and browser fingerprint may constitute personal data. The content of characters typed into forms placed on the page is not collected (only the categories of keys pressed, their number and the time spent in fields are collected), etc. The content of the page viewed by the user is not analysed. The data collected are used only for the purposes of classifying the click and are in no way linked to a specific user (e.g. in order to create a user profile for marketing or other purposes).
Click measurement methodology
The clicks audited by the TwD system include only entries from defined sources. In accordance with the guidelines contained in [1], the method described as the One-Click-Per-Impression Method was adopted as the basic counting methodology. Recording individual clicks from the sources gives flexibility at the time of settlement between the Advertiser and the Publisher. Reports may be adjusted by appropriate time intervals of counted clicks in order to avoid, for example, counting repetitions within certain time intervals. The data flow scheme and the sequences carried out one after another from the moment of redirection after the click are presented in the diagram below:
- A click is measured from the moment the test pixel is downloaded and the JavaScript script placed on the monitored website is downloaded.
- In the following steps the script is executed in the user's browser, establishes a connection with the TrafficWatchDog application server and the downloading of further data begins.
- Each of the listed activities, together with the data received, is recorded in the database.
Data flow diagram – TwD
- TrafficWatchdog Application → Client's monitored website: Dedicated code to be placed on the website
- User → Client's monitored website: Request to open the page after clicking the ad
- Client's monitored website → User: Web page
- User → TrafficWatchdog Application: Request to download the test pixel
- User → TrafficWatchdog Application: Request to download the JavaScript script
- TrafficWatchdog Application → TrafficWatchdog Database: Start of page monitoring
- TrafficWatchdog Application → User: JavaScript script launched
- User → TrafficWatchdog Database: Data sent from the browser
- TrafficWatchdog Database: Classification
- TrafficWatchdog Database → Client's monitored website: Classification result
The data download and processing process consists of the following elements:
- A JavaScript file whose task is to collect data. The script is placed on the Client's monitored website. It is first suitably adapted to the specification of the monitored website.
- A webservice, a service that downloads the encrypted data collected by the JavaScript code placed on the Client's website.
- A database whose task is to store the data collected on the Client's website,
- Click classification algorithms and AI operate as processes continuously analysing and assessing the incoming data.
- The Client Panel enables online analysis of the classification results and makes it possible to generate complaint reports.
Data from the Client's monitored website are collected on an ongoing basis. The code is placed only on the pages selected by Clients that are ultimately to be monitored. Subsequent visits by a user are measured using two independent mechanisms: information contained in a cookie and/or a unique device fingerprint identifier [2]. Both mechanisms are launched only after the user has given consent in the "Marketing" category and serve solely to recognise repeated visits for the purpose of detecting invalid traffic. If consent is refused or withdrawn, neither of them is launched.
Click classification methodology
The TrafficWatchDog system applies click classification techniques based on identifiers, examination of user activity and developed patterns of data collected during user activity on the Client's website. The classification applied is intended to identify an invalid click (as defined in document [1]) consisting in accessing a URL in order to manipulate click measurement activities or click-based advertising payments, without a legitimate intention of browsing the content of the site, making a purchase or performing another type of legitimate conversion. The classification also covers click-related abuse in situations where a user unwittingly, or as a result of fraud, gains access to information (for example, activity caused by a virus infection or auto-clicking functions).
The parameters monitored and collected during a click audit have been divided into 10 main areas subject to individual assessments – which make up the final assessment of the click. List of audited areas:
- Page rendering method – this area includes analysis of the correct handling of JavaScript scripts and test pixels implemented on the monitored website. So-called honeypots, i.e. "traps" identifying bots operating on the page, are also set in the script. If irregularities are detected in the loading of the Client's target page, the area will be classified as invalid.
- System parameters – a set of data identifying the operating system collected while the JavaScript script is executed. Data obtained from HTTP headers, in particular from the User-agent, are also collected. If non-standard system parameters are detected, the area will be classified as invalid.
- Browser parameters – data collected via the JavaScript API that are characteristic of a given visit to a website. The parameters form part of the generated browser fingerprint. They serve to verify the correctness of the User-agent entry and the possibility of its deliberate substitution. Non-standard parameter values or bot markers make it possible to identify bots, including bots using the so-called webdriver interface, i.e. the browser control mechanism implemented in, among others, the Selenium or PhantomJS libraries. In addition, a "proof of work" task is performed, which carries out tasks making it possible to identify a real browser.
- User behavioural – a set of data collected over a finite period of time making it possible to determine human behaviour on a website. Data supplied by peripheral devices are analysed: the mouse and keyboard (only the types of keys pressed and their number, without the content of the text entered) in the case of desktop computers, or touch in the case of the touch screens of mobile devices. The time intervals between the actions performed and the places of activity on the page are also measured. The parameters collected make it possible to identify unnatural behaviour and rule out a human as the browser's user – or to confirm the absence of activity of the potential user on the Client's monitored website. If unnatural patterns of behaviour of the potential user or a lack of user activity on the Client's monitored website are detected, the area will be classified as invalid.
- Device parameters – within the collected parameter values, tests are carried out, among other things, relating to the canvas and WebGL interfaces made available in HTML5, as well as the so-called audio context and WebRTC. Some of these parameters then influence the generated device fingerprint and are used in the analysis of the IP address.
- IP address analysis. Using external IP number databases, a number of data related to the IP number of the browser user are identified, such as: the name of the internet service provider or geolocation. Information related to the potential user's use of the TOR network, a VPN connection or a proxy server is also checked. This makes it possible to detect potential abuse and changes of IP numbers made in order to hide traces of abuse.
- Device fingerprint is a characteristic device identifier generated from selected device parameters. Thanks to its unique value, it makes it possible to recognise repeated visits from the same device (only after the user has given consent). It consists, among other things, of fingerprints generated on the basis of canvas, webgl and audio context. If irregularities are detected in the generation of the device fingerprint, the area will be classified as invalid.
- Browser fingerprint is a unique fingerprint of the browser generated from parameters supplied by the browser API. Together with the device fingerprint, it makes it possible to identify repeated clicks (only after the user has given consent). If irregularities are detected in the generation of the browser fingerprint, the area will be classified as invalid.
- Google Score assessment. The external Google reCAPTCHA v3 API tool is used, which makes it possible to identify bot vs human behaviour (the scoring scale adopted is: null – 100). Google scores indicating invalid traffic classify the given click assessment area as invalid
- Session data. Verification of individual visits, their number, the pages visited and the frequency of visits. If irregularities are detected in the session data, the area will be classified as invalid.
If irregularities are detected in at least one of the 10 analysed click assessment areas, the click may be classified as an invalid click, with an indication of the areas in which the invalid parameters were detected.
Click assessment reporting
The TrafficWatchDog system provides the Client's administration panel, where the Client can track in real time the monitoring and the click/lead assessments carried out on its monitored website. The parameters available for viewing and which may be included in a generated report may contain the following information:
- Information on the classification of the click and the values of the individual components making up the final result.
- Time of entry to the Client's website.
- IP number, user location, information on the ISP
- Unique device and canvas fingerprint
- Visualisations of user behaviour regarding the behaviour of the potential user on the page.
- Click/lead reports (for the current day, a date range, monthly, etc.) broken down by source,
- Information on the browser, operating system and device
- Google Score assessment result.
For reporting and complaint purposes, data are tailored and provided to Clients according to their needs (structure and scope of TwD reports). Clients' websites may additionally be monitored for the correctness of calls after clicking the target link to the Client's website located on publishers' pages. Test clicks will be marked as invalid clicks in reports for the Client. Data collected during click monitoring are stored for up to 3 months, including the month under examination. After this period, detailed data are permanently deleted; aggregated data, stripped of personal data, may be stored for longer.
Additional materials
Interactive Advertising Bureau, "Click Measurement Guidelines", Version 1.0 - Final Release May 12, 2009
IAB Online Lead Generation: Lead Quality Accountability Best Practices for Advertisers and Publishers Released December 2008
Download Documentation
Technical Specification - Description of Methodology (PDF)