New Programatically adding pageviews to Google Analytics

Is your Categories meta box packed? Here’s an option.

One of my favorite clients is a long standing newspaper of over 35 years. They have been through numerous content management systems and suffer from all of the bloat of that comes with exporting and importing into new systems. Category wise, there are a few hundred, many of them with the same name. The long […]

Google Analytics – Tracking All Outbound Links

Inbound tracking Google Analytics is great, but what about your outbound links? This gist was written to add a tracking code to all outbound links at render time.  It can easily be extended to other uses.  Make sure it ends up in the footer of your page, after all links have been loaded into the […]

Programatically adding pageviews to Google Analytics

If you're not familiar with Google Analytics, then you're missing out on the best website user analysis software available.  Google provides it at no cost.  If you run AdWords campaigns or want to build sales funnels, this tool will compliment all of your hard work and help turn those visitors into conversions.  It will also […]

Laravel 5.6 release notes

February's major release of Laravel was rolled out today with many welcomed changes.  The next major release is scheduled for August 2018. LTS updates will be available for 5.5 for 2 years and security updates for 3 years. What's new? Logging Improvements The biggest upgrade is in the logging system.   Being able to send different […]

Adding Materialized Paths to WordPress

If you are looking to use materialized paths in WordPress, this is a simple way to add them in. It will automatically add paths to the approved post types. At that point, you can use the materialized key in your queries to easily find all children. If you’re doing massively nested data, it will make […]

Paperclip Attachment

Making WordPress link to PDF files instead of the attachment page.

A client was having what they called a major UX error.  When someone found a pdf on their site and clicked the thumbnail, they would first be sent to the attachment page that had the full thumbnail and a link to the PDF.  They wanted the thumbnail url to go straight to the PDFs.  This […]

Writing WordPress plugins the Object Oriented way

Writing WordPress plugins the Object Oriented way So, you want to take your plugin game to the next level?  You want to load resources easily, but only when they are needed?  Looking to keep your code localized so it doesn’t have collisions with other code?  Interested in an easy way to do versioning? That’s great! […]

Breaking Ground

Necessity is the mother of invention. That’s how the idea for Breaking Ground came into play. Developers, contractors, architects and real estate agents were asking the company I worked for if there was a good way to track development projects in the region.   There was no uniform system for this. They want a way […]

Caching WordPress with PHPFastCache

Warning This project is being rewritten from scratch right now. Want to contribute? Contact me. In the summer of 2016, the company I work for had a WordPress site that was hitting a new record exceeding one million pageviews per month.  In a time where many newspapers were losing steam, we were gaining it. Our […]