Google Analytics specific URL for any tracking code - google-analytics

As I understood, using Google Analytics, I can create a tracking code that I can embed into any application of website. However, is it receive a specific URL that is used for tracking the whole application in order for me to whitelist the traffic with my ISP so that I can charge the traffic for FREE for that specific URL - rather than whitelist the traffic of all google analytics (Which the ISP cannot do due to the heavy traffic generated by it) ?

You do not need to whitelist any traffic from your ISP. GA tracking works by collecting data from visitors to your site and has nothing to do with all other traffic on sites hosted by your ISP. As long as you have your tracking code on all of your own pages, then your site traffic will be tracked.

Related

I built a Social Network, how can i be seen as Social Network in Google Analytics?

I built a Social Network, and i would like to know how can i be seen as Social Network in Google Analytics for the traffic i send?
Thank you
You will be once your network grows significant enough for Google add it to their default grouping.
The other option is for you to add a “linker” something to be between your site and the sites you’re sending traffic to.
Example:
Someone posts a link to www.mysite.com on your site.
Your site modified that site to www.mysocialnetwork.com/links?redirect=www.mysite.com?utm_source=mysocialnetwork&utm_medium=social
But the above would only work if the sites you’re redirecting to also uses GA.

Google analytics Direct vs Referral traffic for 2 sites being on same domain name

I have a site abc.com e.g. It has a UK and US variant with different content and based on country of access directs to abc.com/en-gb or abc.com/en-us.
Now in the site in the footer there is a link to our App-store website. Now that website too uses the same primary domain name of abc.com but at the proxy based on URL directs it to a completely separate installation of a stand-alone site which is abc.com/app-store.
Both the sites have different GA tracking code enabled. the abc.com corporate site has GA360 (Analytics pro) while the abc.com/app-store uses regular GA account. Basically no way the 2 are connected.
Now what I see is any traffic coming from abc.com/en-gb or abc.com/en-us to abc.com/app-store is being recognised as "Direct" traffic type in GA. While actually it is a "Referral" though they are both sites owned by us.
We need to somehow measure the traffic being sent to our app-store from our corporate site in the GA in the app-store for reporting purposes. We can track traffic sent from abc.com in the GA360 enabled on abc.com/en-gb and /en-us but then it is a different GA account and data store and needs manual sync up.
I had thought of using utm campaign source/medium - but that is giving false impression of bloated traffic as the UTM URL paramters remain even after landing on the destination site and for any filtering operation on the site it keeps reloading - giving the false impression of traffic coming from abc.com.
Any advice?
The reason abc.com/app-store GA account shows this in 'direct' because the referrer is the same domain. And Google will consider this as self-referrer.
GA doesn't care if you have 3 different GA set up in 3 different pages but the domain from which it is referred to, if it is different then it is fine else it considers it as 'direct'. Equivalent to user opening a bookmark.
How to solve this,
Use outbound event tracking on abc.com/en-gb & abc.com/en-us. But it will lead to manual merging of the data.
As UTM parameters are messing up your app store campaign data and filtering options, you can go with the ref parameter. I usually use it for tracking internal navigation. for example - abc.com/app-store?ref=main_site. You can easily filter out ref parameters from your view or create a segment. And it is considered different than the original URL, so no clashes.
Hope this helps

Google Analytics Offline tracking

I need to track information with Google analytics from within an intranet site and people consuming it may not have internet access.
Is there any way to do it?
One possible way would be to keep track of all events in an intranet server (the server that serves that intranet site could be an ideal one to do that), and then from that intranet server you can send HTTP request to google analytics i.e. proxy the analytics AJAX from clients to Google Analytics server
You can debug the request details using browser developer tools or else you can also try changing the URL of GA library source code to your intranet site that would proxy the request to google Analytics.

Can we use google analytics for Internal website?

I have an Intranet application which is accessible from within company firewall. To track some specific pages, I want to implement Google Analytics in my Intranet application. This application is accessible from outside only when user system has some specific certificate installed.
Is it possible to implement Google Analytics in my Intranet application?
Will this Google analytics work inside company firewall?
How Google analytics work i.e. what is the actual flow of google analytics?
Yes, Google analytics can be used for internal web applications too. Please visit this URL which will clear your doubts. If you click on the given link and able to access analytics.js file from your internal network you can use Google analytics for your internal applications protected from corporate firewall.
Please note that after implementation, tracking data would be available around 24 hours only. So, you need to wait for 24 hours first. Even if you are not able to view the tracking data, please visit this link. You will find the possible reasons behind not working your analytics code.
In order for Analytics to generate reports for your corporate intranet
usage, your corporate network must be able to reach the Analytics
JavaScript file (analytics.js).
...
Your intranet must also be accessible
through a fully qualified domain name such as
http:// intranet.example.com. The Analytics JavaScript won't work if
your intranet can only be accessed using a domain name that isn't
fully qualified, such as http:// intranet
Ref: https://support.google.com/analytics/answer/1009688?hl=en
In your example, if a person without the certificate you mentioned can still reach the domain (that is, there is a public DNS entry for the domain name) even if they get an 'access denied' or similar message, the tracking should still work.
Google Analytics is Software as a Service and runs on the Google Servers. If your clients cannot reach the Google server than you cannot send tracking data and Google Analytics will not show anything. You may need to adjust your firewall rules to let calls to the Analytics servers pass (are you that you want a third party javascript to send data from your intranet to the internet, though ? There might be legal ramifications, too, after all implementing a script basically means to hand control of the clients to a third party).
If the server for your intranet is connected to the internet you could collect all hits in a log and pipe this to Google Analytics.
However Google Analytics might not be the best choice. You most certainly do not need campaign data, you probably do not have ecommerce in your company and depending on your type of company geo data and technology data might not be relevant (after all you probably know what computers your employees use and where they are). And for a page counter a self hosted solution will do just as well.
Google Analytics requires that you place a script on each page you wish to track. Whenever a page with the script is loaded, the script runs and sends data to GA, so your users must be connected to the internet as well as the intranet for their usage statistics to register. One security issue to consider is the titles of your intranet's pages will be sent externally across the intranet, which your IT security may have an issue with.
For basic intranet analytics, I'd recommend starting with Piwik which is open source and installs on your server.
It will give you a lot of initial usage data and if your customer decides they want more, you can look into more sophisticated products.

Google Analytics for website with internet and intranet URL?

I want to monitor the traffic for one of the websites hosted in our organization.This website is available over internet and intranet.
Internet URL : https://'portal'.xyz.com (xyz.com is domain name)Intranet URL : https://'portal'(This is without FQDN and can be reached without having internet connection)
I have 2 questions below:
1.How do I configure google analytics to work with nonFQDN (Intranet) version of the website too? Some of the posts mentioning doing below changes to the tracking code once its generated.This is for universal analytics.
ga('create', 'UA-XXXX-Y', 'none');
2.If I do changes mentioned in 1 to tracking code ,will I be able to monitor traffic on both URLs (Intranet and internet) using single profile on google analytics?
Any pointers would be much appreciated? Thanks.

Resources