Tracking events can be a bit daunting. If you have to track every event on a page, you could be writing a ton of code to control each event. Well, I have a solution for you! I wrote a small simple script that is 4 lines long. This script will go through all your events,… Continue reading Tracking Multiple Google Analytics Events Dynamically… Like a Boss!
Tag: JavaScript
The Easiest Way to Defer Scripts in WordPress Ever!!
Deferring Scripts in WordPress is not the easiest thing to do. Many plugins add scripts to your site, and can become a mess very quickly and easily. Deferring one script at a time is not very efficient. Because of this, I wrote a short function that takes the hassle of deferring scripts. // add defer… Continue reading The Easiest Way to Defer Scripts in WordPress Ever!!