I use Gulp as an automated task runner primarily to streamline my front-end workflow because I prefer the focus on code-over-configuration. For me, I felt more comfortable around the JS code/stream to get the job done: in a way, it felt more obvious what was going on. My specific gulpfile solves my specific workflow problems, […]
Month: April 2014
Outbound link tracking with the Google Analytics Universal Code using “hitCallback”
A while ago I posted a solution that used JS functions to override JS events to post an event to an Analytics package. Recently, I found out there is a more solid out-of-box solution available for GA Universal package to efficiently ensure that events are being tracked properly – even on links/actions that redirect you […]
Campaign parameters/tracking with Google Analytics (Universal) in a Facebook App Page
This is a follow-up post where I was explaining how to set/override GA campaign variables programmatically with JS. The unique element of this problem is that all query string parameters are not passed along to your application’s iframe, so by default, we cannot use UTM campaign parameters. Otherwise stated: when GA campaign parameters are passed […]
Using Event Tracking with links or actions involving Page loads (sending a user off the page without opening a new window) with Google Analytics and JS
Update – April 16th, 2014: a new article on how to achieve this more efficiently specifically with GA Universal Code was posted. The below idea is still valid in some cases. Is it possible to use Event tracking with links/forms that redirect to pages in the same browser window? I used to think that this […]
How to create a Rollup property with Google Analytics Universal tracking code – (General and Event Tracking)
A client requested a Rollup account to aggregate all the stats into one property from multiple sites. The general context was that each region (e.g. UK, Spain, France, Australia, South Africa, Canada, US etc) were given a regionalized page (each with a unique property ID in GA) and all general metrics as well as Custom […]
Laravel 4.1.x – Blank iframe – default X-Frame-Option header set to SAMEORIGIN – Fix (Facebook Page App Tab)
Have you ever experienced a blank page/frame when embedding a Laravel app in an iframe (e.g. Facebook Application in a Page Tab)? I ran into this subtle issue when I was making a Facebook Page Tab Application that embeds an app (using Laravel 4.1.x as the framework) in an iframe. I was able to troubleshoot […]