[WordPress] 外掛分享: Custom Link Shortener

首頁外掛目錄 › Custom Link Shortener
10+
安裝啟用
尚無評分
47 天前
最後更新
問題解決
WordPress 5.0+ PHP 7.4+ v2.2.0 上架:2025-06-02

內容簡介

**總結:** 這是一款具有高級功能的自定義 WordPress 網址縮短外掛,包括分析、網址輪換、位置追蹤和密碼保護功能。

**問題與回答:**
1. 這個外掛主要提供哪些功能?
- 創建自定義縮短網址(例如:yoursite.com/go/product)
- 提供詳細的點擊分析,包括訪客 IP 地址、位置數據(國家/城市)、用戶代理和時間戳
- URL 輪換功能(隨機重定向目的地)
- 私人連結的密碼保護功能
- 所有分析數據的 CSV 導出
- 編輯現有縮短網址
- 在 WordPress 的幹凈管理介面中進行操作

2. 如何創建縮短連結?
- 進入管理菜單中的「自定義縮短連結」
- 輸入首選別名(例如:「product」)
- 輸入目的地網址(用於旋轉的情況一行一個)
- 選用:啟用旋轉或設置密碼
- 點擊「創建縮短連結」

3. 如何查看分析數據?
- 前往「自定義縮短連結 → 分析」
- 查看所有點擊次數的連結
- 點擊任何連結的「查看」以查看詳細統計數據
- 需要時導出數據為 CSV

4. 如何管理連結?
- 編輯:更改目的地、旋轉或密碼
- 刪除:刪除短連結(需要確認)
- 測試:在分享前驗證您的連結是否有效

5. 進階功能有哪些?
- URL 輪換:啟用多個目的地時,訪客將被隨機重定向到其中一個 URL,所有點擊仍然準確追踪
- 密碼保護:創建/編輯連結時設置密碼,訪客在重定向前必須輸入密碼,適用於 GET 和 POST 請求

6. 這個外掛使用了哪些外部服務?
- 使用 ipapi.co 來決定訪客的位置信息進行分析
- 發送的數據:訪客的 IP 地址(僅當連結被點擊時,不發送個人數據)
- 發送時間:僅當訪客點擊短連結時
- 服務信息:條款:https://ipapi.co/terms/,隱私政策:https://ipapi.co/privacy/

7. 如需支援應該聯絡什麼信箱?
- 如果需要支援,請透過 [email protected] 聯繫。

**專業提示:** 為了確保最大的兼容性,請在廣泛分享新的縮短連結之前做好測試。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.2.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Custom Link Shortener」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Advanced URL shortener for WordPress with deep-dive analytics, UTM tracking, native app deep linking, link expiration, QR codes, click goals, and a REST API.
Features

🚀 Create custom short URLs (e.g., yoursite.com/go/product)
📱 NEW: Device & Browser Tracking (Desktop, Mobile, Tablet, Chrome, Safari, etc.)
🔲 NEW: Instant QR Code Generation for offline marketing
🎯 NEW: Click Goals with automated admin email alerts
⏸️ NEW: Pause/Activate links instantly via AJAX toggle
🗑️ NEW: Bulk delete functionality in the analytics dashboard
🔗 NEW: REST API endpoints for remote link creation
📈 Native App Deep Linking (break out of TikTok/Instagram in-app browsers)
🏷️ UTM Parameter Pass-Through & Local DB Tracking
⏳ Link Expiration with Fallback URLs
⚙️ Global Base Slug customization (change /go/ to anything, or remove it)
📊 Detailed click analytics with:

UTM Source, Medium, and Campaign data
Visitor IP addresses and Location data (country/city)
User agents, devices, and browsers

🔄 URL rotation (randomize destinations)
🔒 Password protection for private links
📁 CSV export for all analytics data (Overview & Detailed Daily)
🎨 Modern Indigo Admin UI with stat cards and status badges
🔄 Create one URL that redirects to a random published post on your website

Usage
Global Settings

Go to Custom Link Shortener → Settings
Customize your Global Base Slug (e.g., link, out, or leave blank)
Set your Alert Email for Click Goals
Toggle default behaviors for Native App Deep Linking and UTM tracking

Creating Short Links

Go to Custom Link Shortener in your admin menu
Enter your preferred alias and Destination URL(s)
Optional: Set Click Goals, Expiration Dates, Fallback URLs, or Passwords
Click “Create Short Link”

Viewing Analytics & Dashboard

Go to Custom Link Shortener → Analytics
View the master Dashboard for month-over-month trends and device breakdowns
Click “Report” on any link to see detailed daily stats, UTM traffic sources, and devices
Generate QR codes, Pause active links, or Export data as CSV directly from the table

Advanced Features
Instant QR Codes
Click the “QR Code” button next to any link in your dashboard to instantly generate a scannable, downloadable QR code. Perfect for bridging offline marketing (flyers, business cards, presentations) directly to your tracked short links.
Click Goals & Alerts
Set a target number of clicks for any link. Once that threshold is reached, the plugin will automatically dispatch a notification email to your designated admin address.
Native App Deep Linking
When enabled in Settings, the plugin attempts to force links opened inside social media platforms (like TikTok, Instagram, or Pinterest) to break out of the restrictive in-app browser and open in the user’s native browser or native destination app.
UTM Tracking & Pass-Through
The plugin automatically catches incoming UTM parameters (utm_source, utm_medium, utm_campaign), logs them into your local WordPress database for easy viewing alongside device data, and seamlessly forwards them to your final destination URL so external tools like Google Analytics (GA4) can still track them.
REST API Integration
Manage links headlessly via the WordPress REST API:
– GET /wp-json/wpcs/v1/links: Retrieve all links
– GET /wp-json/wpcs/v1/links/{id}: Retrieve a specific link
– POST /wp-json/wpcs/v1/links: Create a new link (requires authentication)
URL Rotation & Random Posts

Enter multiple URLs to randomize destinations on every click (A/B Testing)
Use the Random Post feature to route visitors to a random published article on your site

External Services
This plugin uses external services for enhanced functionality:

ipapi.co (Location Tracking)

– Sends: Visitor’s IP address (only when a link is clicked)
– Terms: https://ipapi.co/terms/
– Privacy: https://ipapi.co/privacy/

goqr.me / qrserver.com (QR Generation)

– Sends: The short URL string to generate the image
– Terms: https://goqr.me/api/
Can I use custom slugs?
Yes! You can choose any alphanumeric slug. You can also customize the base slug (e.g., change /go/ to something else) in the Settings tab.
Does UTM tracking conflict with Google Analytics?
No! The UTM Pass-Through feature ensures that GA4 receives the exact same tracking data, while giving you a resilient, server-side backup inside your WordPress dashboard that defeats ad-blockers.
How do I pause a link?
Simply toggle the switch in the Analytics overview table. Paused links will immediately stop redirecting traffic and display an inactive message to visitors.
2.2.0 (May 2026)

Added Dashboard stat trends (Month-over-Month percentage & Last Click time diff)
Added Device/Browser parsing from raw User Agents
Added Click Goals (Email alert when target is hit)
Added Link Pausing/Deactivation (AJAX Toggle)
Added Bulk Delete checkboxes to Analytics
Added REST API endpoints for remote link generation
Added Instant QR Code generation via interactive modals
Redesigned admin UI with modern indigo design system, stat cards, and status badges
Improved clipboard feedback with toast notifications

2.0.1 (May 2026)

Fixed analytics layout constraints
Upgraded UTM feature to log parameters locally to the database
Added Traffic Source (UTMs) to CSV exports
Added auto-migration for database upgrades

2.0.0 (May 2026)

WordPress 7.0 Compatibility
Added Native App Deep Linking breakout
Added Link Expiration and Fallback URLs
Added Global Base Slug configuration via new Settings Tab

1.4.3 (June 2025)

Redirect users to random posts on the website via a shortlink
Added Total Redirects tracking

1.4.0 (May 2025)

Complete UI redesign and CSV export addition

Support
For support, please email [email protected].
Pro Tip: For maximum compatibility, always test new short links before sharing them widely!

延伸相關外掛

文章
Filter
Apply Filters
Mastodon