WP Manifestindependent plugin directory
manifest / seo / snipr-affiliate-links

Snipr Links

WordPress plugin: Pretty Links + ThirstyAffiliates parity, synced to snipr.sh

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/absaii50/snipr-affiliate-links/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Snipr Links — WordPress Plugin

Pretty Links + ThirstyAffiliates on your domain, synced to snipr.sh.

Every link gets two URLs — yoursite.com/go/{slug} and snipr.sh/r/{slug} — with one destination, one dashboard, and automatic sync.

Current version: 4.4.0


Features

Area Includes
Core Create/edit/delete links, branded slugs, dual URL sync, categories, folders, tags
Redirects HTTP 301/302/307, meta refresh, JS, pixel, geo/device/browser/OS/time rules, A/B & rotation
PrettyPay Stripe Payment Links, Buy Button embed, Checkout Sessions, webhook conversions
Link in Bio 5 themes, social icons, animations, bio click analytics
Pro Password gate, cloak/iframe, webhooks, click email alerts, sparklines, QR codes
Import CSV bulk, Pretty Links export, ThirstyAffiliates export
Integrations MonsterInsights, Uncanny Automator, GA4/GTM, REST API, WP-CLI

Requirements

  • WordPress 6.4+
  • PHP 8.1+
  • Pretty permalinks enabled
  • Snipr Pro+ account for API sync (optional — WP links work without API key)

Install

From ZIP (production)

  1. Download or clone this repo
  2. Copy the folder to wp-content/plugins/snipr-affiliate-links/
  3. Activate Snipr Links in WordPress admin
  4. Go to Snipr Links → Settings → add your Snipr API key
  5. Create your first link

Local development + tests (Docker)

# From plugin root
bash tests/run-live-tests.sh    # 66 assertions
bash tests/run-deep-tests.sh    # live + deep + HTTP (95+ checks)

Requires Docker. WordPress runs at http://localhost:9080 (admin: admin / admin).

Optional live API test:

SNIPR_API_KEY=sk_live_... bash tests/run-deep-tests.sh

Quick usage

Shortcode:

[snipr_link slug="amazon-deal"]Buy now[/snipr_link]
[snipr_product_box slug="amazon-deal"]
[snipr_share slug="amazon-deal" networks="twitter,whatsapp"]
[snipr_prettypay slug="checkout-slug"]
[snipr_bio]

WP-CLI:

wp snipr sync
wp snipr list --limit=20
wp snipr import links.csv --pretty
wp snipr folders pull
wp snipr health --id=123

Stripe webhook (PrettyPay conversions):
Settings shows your endpoint — POST /wp-json/snipr/v1/stripe-webhook
Listen for checkout.session.completed.


Project structure

snipr-affiliate-links/
├── snipr-affiliate-links.php   # Bootstrap
├── includes/                   # 50+ PHP classes
├── assets/                     # CSS, JS, icons
├── tests/                      # Docker test suite
├── docker-compose.test.yml
└── uninstall.php

License

GPL-2.0-or-later