I'm trying to figure out how to track a subdirectory in a separate report. Ex. www.sample.com = Report 1 www.sample.com/products = Report 2 Any suggestions? Thanks, Devin
at overview above sample.com --> " + Add new profile" click that . dont put report 1 code in "sample.com/products"
It depends on what you want to achieve....do you want to get only standard metrics for sample.com/products or do you want to be able to track goals and perform much deeper analysis for this subdirectory? If you want to get only standard metrics you can do so by creating a custom segment for your reports and then viewing that segment across reports. If you want the later I would suggest that you create a new profile using filters. However, the new profile will only start gathering data after you create it, so you will not be able to see historical data just yet.
I highly recommend you to create a duplicate profile and apply a filter that show the traffic coming to the particular URL.
Hi, I need to track conversion from domainA.com/pageA to domainB.com/pageB. We have a button on pageA, but after clicking it, it will call a server-side function to redirect it to domainB/pageB. Thus, guides from Google Analytics Help Center - How do I install the tracking code if my site spans multiple domains? doesn't apply here. Can anyone help me with this?
I had been tracking cross domains on my sites. Here's copy and paste of the code I used. I have two separate tracking, one for current domain and one for all domains "a" is tracking for current domain, "b" is tracking for cross domains. If you only need to track cross domain, then you can just use code from "b" <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-xxxxxxxx-1']); _gaq.push(['_trackPageview']); _gaq.push(['b._setAccount', 'UA-xxxxxxxx-1']); _gaq.push(['b._setDomainName', 'none']); _gaq.push(['b._setAllowLinker', true]); _gaq.push(['b._trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga); })(); </script> Code (markup):