[WordPress] 外掛分享: NeedToMe Phone Number Switcher

首頁 › 外掛目錄 › NeedToMe Phone Number Switcher
全新外掛
安裝啟用
—
尚無評分
45 天前
最後更新
—
問題解決
WordPress 6.3+ PHP 7.4+ v1.0.5 上架:2026-10-15

內容簡介

NeedToMe Phone Number Switcher 是一款能在 WordPress 網站上顯示特定活動電話號碼的外掛。透過 URL 參數、CSS 選擇器和替換號碼的規則設定,使用者可輕鬆管理不同活動的聯絡方式,提升行銷效果。

【主要功能】
• 匹配 UTM 參數及其他查詢參數
• 支援使用 * 通配符匹配參數名稱
• 設定多個替換規則並排序
• 使用第一方 Cookie 保持活動號碼
• 更新匹配的 tel: 連結及可見電話文本
• 測試規則僅限登入的管理員

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.5) 或搜尋安裝

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

原文外掛簡介

NeedToMe Phone Number Switcher displays a campaign-specific phone number on your WordPress site. Create a rule with a URL parameter, an optional value, a CSS selector, and the replacement number. Use * in the parameter name to match a pattern such as utm_*.
Features:

Match UTM parameters such as utm_source, utm_medium, and utm_campaign, or any other query parameter.
Match parameter names with * wildcards, for example utm_*, and optionally match a specific parameter value.
Create and order multiple replacement rules.
Keep the selected campaign number on later pages with a first-party cookie; this is enabled by default so a visitor continues seeing the correct campaign number after leaving the landing page.
Optionally connect campaign memory to the WordPress Consent API or a configurable JavaScript consent state and change event.
Update the destination of matching tel: links as well as their visible phone text.
Re-apply the number to matching content added later by a popup or page builder.
Test enabled rules on the public site for logged-in administrators only.
Configure the attribution period from the current browser session up to 365 days.
Use the plugin without sending visitor or campaign data to a third-party service.
Migrate settings and honor existing visitor selections from the former PDX Different Phones for Different UTM plugin.

Enter utm_source to match one parameter, or utm_* to match any parameter whose name begins with utm_. A rule with a blank parameter value matches whenever the parameter is present; enter a value such as newsletter to require an exact value match. Use a selector that targets the phone text itself, such as .header-phone or .contact-phone a.
The new first-party cookie stores the IDs of matched rules so the same configured number can be shown on later pages. It does not store the visitor’s IP address, URL, or phone number. During the transition, the plugin can also read the earlier pdxphone_for_utm cookie until it expires; that legacy cookie contains selectors and replacement numbers and is not written by this plugin. Site owners are responsible for documenting cookies used on their site and determining whether consent is required for their visitors.
Campaign memory can be set to always remember the matching rule (the default), use the selected category from WP Consent API, or read a custom JavaScript consent signal. In consent-based modes, the number still changes on a page whose URL matches a rule. If consent is denied, the plugin clears and stops using campaign cookies; when the visitor opens a later page without the matching URL parameter, the original number remains. If the consent interface is unavailable or has not supplied a state, the plugin does not read or write campaign cookies.
Privacy
The plugin does not send data to external services and does not record visitor IP addresses or page views. When a rule matches, it may set the first-party needtome_phone_number_switcher cookie containing the matching rule IDs. The cookie is used to remember which configured number to show on subsequent pages. Campaign memory is enabled by default; site owners can optionally require consent through WP Consent API or a custom JavaScript signal. The site owner controls the cookie duration and consent category and is responsible for documenting the cookie and determining applicable notice or consent requirements.

延伸相關外掛

文章
Filter
Mastodon