Contact Form 7 Google Analytics

Adds Google Analytics Event Tracking to all Contact Form 7 forms sitewide, using “Contact Form” as the Event Category, “Send” as the Event Action, and the form name as the Event Label.

Get the code at the WordPress.org plugin repository, or open issues at the GitHub repository. Continue reading “Contact Form 7 Google Analytics”

Woocommerce Product Addons Template Overrides

Mike Jolley wrote a Woocommerce plugin named Product Addons that allows global and per-product addons as free or paid upgrades. The plugin provides several template files, but they can’t be overridden in the typical Woocommerce manner.

Instead of placing template override files in the woocommerce folder in your WordPress theme, place them in a folder named woocommerce-product-addons in your WordPress theme and you’ll be good to go.