=== TernPass ===
Contributors: ternpass
Tags: click fraud, bot protection, google ads, meta ads, ad fraud
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Filters bots and fake clicks on your ad traffic and sends filtered visitors to your safe page.

== Description ==

TernPass protects your ad budget from click fraud. Every visit coming to your site is checked by TernPass; bots, automation tools, data center traffic and ad spy tools are filtered out and sent to the safe page you prepared in the TernPass panel. Real visitors see your site as usual.

Reklam bütçenizi sahte tıklamalardan korur. Sitenize gelen her ziyaret TernPass ile denetlenir; botlar, otomasyon araçları, veri merkezi trafiği ve reklam casus araçları ayıklanır ve TernPass panelinde hazırladığınız güvenli sayfaya yönlendirilir. Gerçek ziyaretçiler sitenizi her zamanki gibi görür.

A TernPass account is required: https://ternpass.com

= Two modes =

* **JS mode (default):** Only the connection key is needed. The TernPass script is added to your pages and works with any page cache.
* **Server mode (optional):** Also enter the server secret. Visitors are checked on your server before the page is generated, so bots never see your content. Checked pages are excluded from page caching.

= External service =

This plugin sends visit data to the TernPass service (https://ternpass.com) to decide whether a visit is genuine: the visitor's IP address (server mode only), user agent, accept-language header, referrer and the visited URL. IP addresses are not stored; only a salted hash is kept for 10 minutes for repeated-click detection. Terms: https://ternpass.com/kosullar — Privacy: https://ternpass.com/gizlilik

== Installation ==

1. Upload the plugin and activate it.
2. Go to Settings › TernPass and paste your connection key from TernPass panel › Entegrasyon.
3. (Optional) Paste the server secret for server mode.

== Frequently Asked Questions ==

= What happens if TernPass is unreachable? =

The visitor is let through (fail-open). Your site never goes down because of TernPass.

= Are logged-in editors filtered? =

No. Administrators and editors browsing their own site are never checked or counted.

== Changelog ==

= 1.0.1 =
* Script is loaded with wp_enqueue_script; server data is sanitized; safe page redirect uses wp_safe_redirect.

= 1.0.0 =
* First release.
