You see, the Pageview is recorded only after that code is loaded up. So the sooner you load the code, the sooner that Pageview is recorded. Let’s say you have a big blog page, and it’s a slow loading one, taking even 10 to 20 seconds to load everything up. If your Google Code doesn’t start until the end of the page, it can get held up, just like the old non-asynchronous code used to hold up OTHER lines of code. Except now it’s holding up the tracking code. If a visitor to your site hits the page, and then leaves it before the tracking code fires the Pageview, then you lose that visitor. They now become a new direct visit to whatever page of the site they landed on. This can make all sorts of data on your site incorrect. … [Read more...] about Where Should The Google Analytics Tracking Code Be Placed?
Add website to google analytics
When your domain is in the exclusion list, then users can cross from one subdomain on your site to another without starting a new session. Without your domain in the exclusion list, when a user goes from one subdomain to another on your site, Analytics sees that as a referral from one hostname to another and starts a new session. As a result, your reports can have artificially inflated session counts. … [Read more...] about Two Steps to Correctly Tracking Subdomains in Google Analytics
Cart-to-Detail Rate & Buy-to-Detail Rate Cart-to-detail and buy-to-detail rate are two out of the box metrics in Google Analytics that are often overlooked. Cart-to-detail rate indicates how often a product is added to cart after being viewed, while buy-to-detail rate tell us how often a product is purchased after being viewed. These metrics are important because they are great indicators of product performance. If we see a product that is not at the top of our list in terms of quantity or product revenue but has a high cart-to-detail or buy-to-detail rate, maybe we need to take another look at product placement or navigation issues. … [Read more...] about What Are the Most Important Google Analytics Metrics?
Filter Name: Include Internal IP Filter Type: Custom > Include Filter Field: IP Address Filter Pattern: Use a regex pattern to include all your internal IP addresses Select the views to apply this filter to Include Specific Hostname This is one of the best filters you can make. Hostname is the domain of the page a visitor is on when they send a hit to GA. Obviously, you should only include traffic from people visiting your site. This is going to strip out a whole bunch of ghost referral spam, or traffic that never actually hits your website via the measurement protocol. … [Read more...] about Basic Google Analytics Filters for Every Site