Directory / plugin
Universal WP Lead Tracking
v1.0.15 · by Inbound Horizons
Adds lead tracking information to e-mails coming from Contact Form 7, Gravity Forms, Ninja Forms, or Elementor PRO form submissions.
About this plugin
Universal WP Lead Tracking gives you important information about users from contact form submissions on your WordPress site and allows you to instantly set up Google Analytics events to send conversion data when someone submits a form on your website.
When you receive an e-mail from a contact form on your website, you will instantly see data on a user’s landing page on your site, the page that they filled out the contact form on, the referring source that sent them to your website, their location IP (country-level) and browser/platform used.
This information is added by simply putting the [tracking-info] shortcode in the email being sent to you when a user submits a form on your website. Just paste the [tracking-info] shortcode in your e-mail template, and every time you receive a lead from your website, you will be able to see information from the user that submitted the form.
The Specific Information This Plugin Provides
The tracking info specifically includes the Form Page URL, Original Referrer, Landing Page, Lead Source, Campaign, Ad Click ID, User IP, and Browser. What do these specific items mean?
- Form Page URL: This is the page on your website where the user filled out your form.
- Original Referrer: This is where the user came to your website from such as Google or Facebook. If there was no referring website, the source name is shown instead, such as a newsletter or “direct”.
- Landing Page: This is the page on your website that the user first came to from an outside source.
- Lead Source: This is how the user first found your website, such as Google Ads, organic search, social media, email, another website, or a direct visit.
- Campaign: This is the campaign name (the utm_campaign value) from the link the user first clicked, when there is one.
- Ad Click ID: This is the ad click ID (such as a Google Ads gclid) from the user’s first visit, when there is one.
- Most Recent Visit: This is only included when the user came back through a different source or page before sending the form.
- Most Recent Ad Click ID: This is only included when the user’s most recent visit was an ad click with a different click ID than their first visit. Use it to credit the ad that led to the form.
- User IP: This is the IP address of the user that sent a form submission and includes a country location.
- Browser: This tells you what browser a user was on when they sent a form submission.
Accurate Referrer And Landing Page Tracking
The referrer and landing page are captured in the visitor’s browser the moment they arrive, so they stay accurate even on sites that use page caching. The information is remembered for 90 days, and the visitor’s first visit is never overwritten, so a lead who comes back days later is still credited to the source that first brought them to your website.
The plugin recognizes Google Ads (gclid, gbraid, wbraid), Microsoft Ads (msclkid), Facebook (fbclid), TikTok (ttclid), and LinkedIn (li_fat_id) click IDs, as well as UTM parameters, search engines, social networks, and other referring websites.
This Tracking Code Works With Most Major Form Plugins
This shortcode tracking method will work with forms on Contact Form 7, Gravity Forms, Ninja Forms, or Elementor PRO. Because it is shortcode based, you can just drop in the code to the e-mail submission template on any of these major form plugins.
If you are sending your website e-mail submissions via an HTML based output on one of these plugins, we have that covered too. Just add html=”true” to your shortcode like so: [tracking-info html="true"]
This Plugin Sends Form Events To Google Analytics
As an added feature, you can track any form submission on your website as a Google Analytics event if you have Google Analytics set up on your website.
This happens automatically when you check the box for the Analytics event you want on the plugin settings section. We currently support ga{} events for Universal Analytics and gtag{} events for Google Analytics 4.
This will show up in your Google Analytics view as an action called “submit” with an event category called “Contact Form” that you can then set as a lead source in your conversion preferences in Google Analytics
For more plugins, help, or information about this plugin please visit www.inboundhorizons.com.