Thursday, May 20, 2010

First Touch Keyword

Got referred to a blog about keyword attribution and it has a script to collect first touch keyword in GA.

Finally got that working in GA today. Custom variables only allows 64 characters. Because the values are url encoded, blank spaces are turn into 3 characters (%20).

I thought what a waste of valuable characters. So I tweaked the code and replace %20 with an underscore. This makes the custom keyword readable in GA and allows more useful characters to be logged in GA.

Read my tweak to the script here

No comments: