Search code examples
javascriptgoogle-analyticsfilteringreferrals

Advanced filtering on Google Analytics to grab referrals and convert them to external links


I've been segmenting my full referral path to the user defined value using advanced filters.

alt text

I would like that data, which obvious is the form of an URL to be clickable. Would even be better if it could open in a new window.

Anyone knows what I should feed the user defined value to get that behavior?

I've put up an image to better explain what I'm trying to do (sorry for the blur but it was the only the client allowed). What I'm trying to do is put the yellow part (the full link path) as an external link so that I can click on it and just visit the site that brought the user here.

Any thoughts on how to do it?

alt text

Please take into account that the text given in the example is extremely short. On 90% of the referrals google cuts down the link showing the full path on the title only:

<div class="a" title="http://www.example.com/vb/showthread.php?s=d0189c38">
    <div class="b">http://www.example.com/vb/show</div>
</div>

Thanks!


Solution

  • There was really no good answer so I've made up an extension that you can install on Google Chrome to achieve this behavior.

    It simply converts all the static text from "User Defined Value" into actual external links.

    You can Install it from the Google Extensions page:

    https://chrome.google.com/extensions/detail/dbbnhpimjhganelkoickiabfampiiagl

    Hope this helps someone.