Js check en: Difference between revisions
(Created page with "Версия на русском языке Integration is designed to test traffic on landing pages and web pages. When a user visits a page, our script collects data and sends it to our server. On the server, the data is analyzed and written to a database. You can view the accumulated data in the statistics. If you want to do something with bot traffic immediately after checking, there is an option to do this through the settings. = General settings = G...") |
No edit summary |
||
Line 21: | Line 21: | ||
= Embed code = | = Embed code = | ||
After filling out the form, a generated script code will appear at the bottom of the page, which you can copy with the ''Copy'' button and paste into the ''body'' tag on your page. | After filling out the form, a generated script code will appear at the bottom of the page, which you can copy with the ''Copy'' button and paste into the ''<body>'' tag on your page. | ||
'''Under no circumstances should you change the kmnrKey field, as it contains the unique ID of your integration. If it is different from the saved one, clicks will not be recorded in the database.''' | '''Under no circumstances should you change the kmnrKey field, as it contains the unique ID of your integration. If it is different from the saved one, clicks will not be recorded in the database.''' | ||
[[File:Js check 13.png]] | [[File:Js check 13.png]] |
Revision as of 11:46, 12 April 2023
Integration is designed to test traffic on landing pages and web pages. When a user visits a page, our script collects data and sends it to our server. On the server, the data is analyzed and written to a database. You can view the accumulated data in the statistics.
If you want to do something with bot traffic immediately after checking, there is an option to do this through the settings.
General settings
General information on setting up integration can be found here: General settings
Traffic-back URL
If you want fraud traffic to be automatically redirected to a certain page, specify its URL in the Traffic-back URL field.
kmnr.onResponse
If you want to handle fraud impressions yourself, for example, redirecting them to different URLs depending on the traffic source, you can add the window.kmnr.onResponse field to the window.kmnr object. This is a function that takes an object { fraud } as input, where fraud can have a value of 0 (good impression) or 1 (bot impression).
Note that if you specify both kmnr.onResponse and Traffic-back URL, then since kmnr.onResponse has higher priority, Traffic-back URL will be ignored.
Embed code
After filling out the form, a generated script code will appear at the bottom of the page, which you can copy with the Copy button and paste into the <body> tag on your page.
Under no circumstances should you change the kmnrKey field, as it contains the unique ID of your integration. If it is different from the saved one, clicks will not be recorded in the database.