Category Archives for Google Analytics

Google Analytics Event Tracking Optional Field Use: Value Without a Label

In Google Analytics event tracking the category and action parameters are required. Optional fields are label, value, and non-interaction. If you want to use any of the optional fields without the prior optional fields, you need to pass in undefined. For example if you want to pass in a value without a label: _gaq.push(['_trackEvent', 'Purchases', [...]

Also posted in Web development | Tagged | Comments Off

Google Analytics Reporting API using OAuth 2 with ColdFusion

Google Analytics provides a Core Reporting API (Version 3) that allows for the extraction of data into custom dashboards and interfaces. The API uses OAuth 2 for authentication with refresh tokens for offline access. ColdFusion can tap into the API quite easily.

Also posted in ColdFusion | Tagged , | Comments Off

Tracking Multiple Domains Individually and as a Group in Google Analytics

Website managers who track multiple top-level domains individually but also want to track some or all of them as a group in one profile can do so with the proper tracking code installed.

Tagged | Comments Off

Google Analytics Click Event Tracking on LinkButton in ASP.NET (VB)

Google Analytics integration with .NET web parts requires more planning and execution than with straight HTML. To apply dynamic event tracking to a LinkButton we can attach a function to the OnClientClick attribute of the LinkButton. First, a review of how the event tracking method is set up directly from Google: category (required) The name [...]

Also posted in .net | Tagged , | 2 Comments

Custom Variable Not Showing Up in Google Analytics

Attempting to track authenticated users within the site, I added a custom variable to my Google Analytics tracking. It went something like this: I placed this right after my Google Analytics tracking code in the head section of the page. Like so: Seemed like the logical place based on other Google Analytics code I have [...]

Tagged | 3 Comments