Take the 2-minute tour ×

so first here's a snippet of my current Analytics javascript:

var _gaq = _gaq || [];
_gaq.push(['_setSiteSpeedSampleRate', 100]);
(function() {
    var ga = document.createElement('script');
    ga.type = 'text/javascript';
    ga.async = true;






But am unsure if this is the best way and figured someone else on so would have had a similar situation that they could talk a bit about.

share|improve this question
add comment

1 Answer

You can add the domain name to the reports in GA by adding a filter.

First, if you haven't done so already, create a "raw" unfiltered profile. In the event that a filter works so good that it filters ALL the data, you will have this one to fall back on.

On the "default" profile, add a hostname filter so you can distinguish between two like-named page. See Profiles on GA's docs and the screen shot below for more info:

enter image description here

share|improve this answer
add comment

Your Answer


