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:
utm_source, utm_medium, and utm_campaign, or any other query parameter.* wildcards, for example utm_*, and optionally match a specific parameter value.tel: links as well as their visible phone text.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.
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.