Install
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/max-lythgoe/pdm-easy-call-conversions/archive/refs/heads/main.zipEasy Call Conversions WordPress Plugin
A lightweight WordPress plugin that automatically adds Google Ads call conversion tracking to all telephone links on your website.
Features
- Automatic Integration: Adds Google conversion tracking script to your site header
- Smart Detection: Automatically finds and enhances all
tel:links - No Manual Work: Converts existing phone links without any manual intervention
- Admin Settings: Easy-to-use settings page for customization
- Lightweight: Minimal impact on site performance
How It Works
- Script Injection: Adds the Google conversion tracking script to your site's header
- Link Enhancement: Automatically adds
onclickattributes to all telephone links - Conversion Tracking: When visitors click phone numbers, it triggers a conversion event before initiating the call
Installation
- Upload the
easy-call-conversionsfolder to your/wp-content/plugins/directory - Activate the plugin through the 'Plugins' menu in WordPress
- Go to Settings → Call Conversions to configure your Google Ads conversion settings
Configuration
Required Setup
Before using this plugin, ensure you have:
- Google Analytics or Google Ads Global Site Tag (gtag) installed on your site
- Your Google Ads conversion ID from your Google Ads account
Plugin Settings
Navigate to Settings → Call Conversions to configure:
- Conversion ID: Your Google Ads conversion tracking ID (format:
AW-XXXXXXXXXX/XXXXXXXXXX) - Conversion Value: The monetary value to assign to each call conversion
- Currency: The currency code for conversion value (USD, EUR, GBP, etc.)
Usage
Once activated and configured, the plugin works automatically:
- Existing Links: All existing
tel:links in your content will automatically get conversion tracking - New Links: Any new telephone links you add will be automatically enhanced
- Dynamic Content: Links added via JavaScript or other dynamic methods are also tracked
Example
Before (your existing code):
<a href="tel:+1234567890">Call us now!</a>
After (automatically enhanced):
<a href="tel:+1234567890" onclick="return gtag_report_conversion('tel:+1234567890');">Call us now!</a>
Phone Number Formats Supported
The plugin works with any standard telephone link format:
tel:1234567890tel:+1-234-567-8900tel:+1.234.567.8900tel:(234) 567-8900
Requirements
- WordPress 4.0 or higher
- PHP 5.6 or higher
- Google Analytics or Google Ads Global Site Tag installed on your site
Frequently Asked Questions
Do I need to modify my existing phone links?
No! The plugin automatically detects and enhances all existing tel: links on your site.
Will this affect my site's performance?
The plugin is very lightweight and adds minimal overhead to your site.
Can I customize the conversion value for different phone numbers?
Currently, the plugin uses a single conversion value for all calls. Future versions may include per-number customization.
What if I don't have Google Analytics installed?
You need either Google Analytics (with gtag) or Google Ads Global Site Tag for the conversion tracking to work properly.
Changelog
1.0.0
- Initial release
- Automatic tel: link detection and enhancement
- Admin settings page
- Google Ads conversion tracking integration
Support
For support, feature requests, or bug reports, please visit our GitHub repository or contact support.
License
This plugin is licensed under the GPL v2 or later.
Note: Make sure to replace the default conversion ID in the settings with your actual Google Ads conversion tracking ID for proper functionality.# pdm-easy-call-conversions
Releases
1 release.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.