Development Tips & Tricks

This will be a running list of tips and tricks I've learned over the years of being a professional web developer

Tracking an event to Google Analytics using gtag by Jason Ramsey on Thursday, December 17th 2020

I wanted to start adding some event tracking to and I was orginally just going to save to a local database but choose to use google instead. I had a bit of a learning curve to the fact that gtag and ga are two seperate methods. If you are using - you'll want to use gtag() instead of ga(). Continue Reading

Double Log Entry in PHP / MySQL by Jason Ramsey on Tuesday, July 4th 2017

I've been trying to learn more about PHP and what I can do to help people with WordPress or other sites written in PHP. Another topic involved in this process is also learning more about MySQL. Today I discovered a strange issue with my MySql insert statement double posting when viewing my PHP page in Chrome. Continue Reading

Easiest Way to Edit Host File Windows 10 by Jason Ramsey on Friday, June 30th 2017

A good trick to working on a development machine is to edit your host file so that you can keep the same url but point a website to your own box. This can get annoying to edit as you need to be running an Admin editor, here is how you can create a shortcut for this process. Continue Reading