GA4 Lead Event for Fluent Forms
Sends a generate_lead event to Google Analytics 4 or Google Tag Manager whenever a Fluent Forms form is submitted successfully.
Snippet Library
3,040 free snippets from the WPIDE team and the community. Copy the code, or add any snippet to your site in one click with WPIDE.
Sends a generate_lead event to Google Analytics 4 or Google Tag Manager whenever a Fluent Forms form is submitted successfully.
Sends a Google Analytics 4 "purchase" event with the order total and downloads when a customer lands on the Easy Digital Downloads purchase confirmation page.
Sends a Google Analytics 4 "purchase" event with the order ID, value, tax, shipping and items when a customer reaches the order received page, once per order.
Sends a GA4 "begin_checkout" event with the cart value and items when the customer opens the checkout page.
Sends GA4 ecommerce events when a shopper views a product page and when they add a product to the cart, from the product page or with AJAX buttons on shop pages.
Adds the Google Analytics 4 (gtag.js) tracking code to the head of every public page.
Outputs the GA4 tag only for visitors and customers, so your own visits as an author, editor or administrator do not skew the statistics.
Adds a Google Analytics 4 measurement ID field to Network Admin > Settings and prints the tag on every site, so new sites are tracked automatically.
Sets GA4 user properties for whether the visitor is logged in and their role (for example customer or subscriber), so you can compare members and guests in reports.
Tells Google Analytics 4 which category, author and post type each page belongs to, so you can see which topics and writers bring the most engagement.
Sends a page_not_found event to Google Analytics 4 with the broken URL and the page the visitor came from, so you can find and fix dead links.
Sends a generate_lead event to Google Analytics 4 or Google Tag Manager each time a Contact Form 7 form is sent successfully, with the form ID attached.
Sends a generate_lead event to Google Analytics 4 or Google Tag Manager when a Gravity Forms form shows its confirmation, including AJAX forms.
Sends an event to Google Analytics 4 (or the GTM dataLayer) whenever a visitor clicks a phone number, email address or WhatsApp link, so you can count leads from these contacts.
Sends a search_no_results event with the search term to Google Analytics 4 when a site search finds nothing, showing you what visitors want but cannot find.
Sends a generate_lead event to Google Analytics 4 or Google Tag Manager when an AJAX WPForms form is submitted successfully.
Pushes a GA4-style "purchase" ecommerce object to the Google Tag Manager dataLayer on the order received page, ready for GA4, Google Ads or Meta tags in GTM.