Title: Retaint
Author: retaintdev
Published: <strong>8 ژوئن 2026</strong>
Last modified: 8 ژوئن 2026

---

جستجوی افزونه‌ها

![](https://ps.w.org/retaint/assets/icon-256x256.png?rev=3564276)

# Retaint

 توسط [retaintdev](https://profiles.wordpress.org/retaintdev/)

[دانلود](https://downloads.wordpress.org/plugin/retaint.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/retaint/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/retaint/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/retaint/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/retaint/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/retaint/)

## توضیحات

Retaint connects your WooCommerce store to the Retaint retention marketing platform.
Once you paste your Org ID and activate the plugin, every meaningful customer touchpoint
is captured automatically:

 * Product views, category views, search queries
 * Add-to-cart, checkout started
 * Order placed (with full order details for retention flows)
 * User registration and login (linked to anonymous browsing sessions)

No code changes needed — the plugin handles event tracking on every storefront page
automatically.

#### How it works

The plugin loads a small JavaScript snippet on every frontend page (loaded from 
tracker.retaint.com), which assigns each visitor an anonymous ID. As the visitor
browses, views products, searches, and starts checkout, events are reported to Retaint.
When a customer registers, logs in, or completes an order, the plugin links their
anonymous browsing session to their email and phone so Retaint can target them with
retention campaigns.

#### Requirements

 * WordPress 6.0 or later
 * WooCommerce 7.0 or later
 * PHP 7.4 or later
 * A Retaint account (https://retaint.com)

### External Services

This plugin connects to the Retaint service (https://retaint.com) to send customer
event data so retention marketing campaigns can be triggered.

**What it sends:**

 * On every frontend page: loads `https://tracker.retaint.com/retaint.wl.js` (the
   Retaint tracker script) which assigns the visitor an anonymous ID.
 * On commerce events (add-to-cart, checkout, order placed): sends an HTTP POST 
   to `https://tracker.retaint.com/rest/v1/learn/event` with the event name, value,
   and anonymous visitor ID.
 * On user registration, login, and order completion: sends an HTTP POST to `https://
   tracker.retaint.com/rest/v1/learn/identify` with the user’s email, phone, and
   full name to link the anonymous browsing session to a known customer.
    **When
   it sends:** Only after a site administrator enters a Retaint Org ID under Settings
   Retaint. If no Org ID is configured, no data leaves your site.

**Retaint terms and privacy:**

 * Terms of Service: https://retaint.com/terms-condition/
 * Privacy Policy: https://retaint.com/privacy-policy/

## نصب

 1. Upload the `retaint` folder to `/wp-content/plugins/`, or install through the Plugins
    screen.
 2. Activate the plugin through the ‘Plugins’ menu.
 3. Go to Settings  Retaint.
 4. Paste your Retaint Org ID and click “Save Org ID”.
 5. Click “Test Connection” to verify the integration is working.

## سوالات متداول

### Where do I find my Retaint Org ID?

Log in to your Retaint dashboard at https://app.retaint.com and find the Org ID 
under your workspace settings.

### Will this slow down my store?

No. Server-side events use fire-and-forget HTTP requests (1-second timeout, non-
blocking), so even if Retaint’s API is slow, your checkout and cart flows remain
instant. The JavaScript snippet is loaded asynchronously and does not block page
rendering.

### Does this plugin store any personal data in WordPress?

The plugin stores only your Retaint Org ID and a timestamp of the last verified 
connection. Customer event data is sent directly to Retaint’s API and is not stored
locally.

### Is this plugin compatible with WooCommerce High-Performance Order Storage (HPOS)?

Yes. Retaint declares HPOS compatibility and uses only HPOS-safe WooCommerce APIs.

### How do I enable debug logging?

Add `define( 'RETAINT_DEBUG', true );` to your `wp-config.php`. Every dispatched
event will be logged to your PHP error log.

## نقد و بررسی‌ها

نقد و بررسی‌ای برای این افزونه یافت نشد.

## توسعه دهندگان و همکاران

“Retaint” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ retaintdev ](https://profiles.wordpress.org/retaintdev/)

[ترجمه “Retaint” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/retaint)

### علاقه‌ مند به توسعه هستید؟

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/retaint/)، [مخزن SVN](https://plugins.svn.wordpress.org/retaint/)
را بررسی کنید، یا از طریق [RSS](https://plugins.trac.wordpress.org/log/retaint/?limit=100&mode=stop_on_copy&format=rss)
در [گزارش توسعه](https://plugins.trac.wordpress.org/log/retaint/) مشترک شوید.

## گزارش تغییرات

#### 1.0.0

 * Initial release.
 * Captures: product views, category views, search, add-to-cart, checkout started,
   order placed, user identify.
 * WooCommerce HPOS compatible.
 * Admin settings page with connection status and test-connection button.

## اطلاعات

 *  نگارش **1.0.0**
 *  آخرین به‌روزرسانی **3 ماه پیش**
 *  نصب‌های فعال **کمتر از 10**
 *  نگارش وردپرس ** 6.0 یا بالاتر **
 *  آزمایش‌شده تا **7.0.4**
 *  نگارش PHP ** 7.4 یا بالاتر **
 *  زبان
 * [English (US)](https://wordpress.org/plugins/retaint/)
 * برچسب
 * [abandoned cart](https://fa.wordpress.org/plugins/tags/abandoned-cart/)[marketing](https://fa.wordpress.org/plugins/tags/marketing/)
   [retention](https://fa.wordpress.org/plugins/tags/retention/)[woocommerce](https://fa.wordpress.org/plugins/tags/woocommerce/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/retaint/advanced/)

## امتیازها

هنوز هیچ نقدی ارسال نشده است.

[بررسی شما](https://wordpress.org/support/plugin/retaint/reviews/#new-post)

[مشاهدهٔ همهٔ بررسی‌ها](https://wordpress.org/support/plugin/retaint/reviews/)

## مشارکت کنندگان

 *   [ retaintdev ](https://profiles.wordpress.org/retaintdev/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/retaint/)