Referral exclusions and Organic Search from Management API - google-analytics

I'm using the https://developers.google.com/analytics/devguides/config/mgmt/v3/mgmtReference (management api) to get some of the website statistics, filters and other stuff. But I can't find any way to download website refferal exclusions list or list organic search for that account. Is there any way to do it or it's just impossible to get?

I think that it is not possible. There aren't API, in this moment, ti get Referral Exclusion list.

Related

How do I use search term exclusion on organic bot traffic in Google Analytics

I have received bot traffic on my website recently that I am having trouble filtering out. In Google Analytics, it says that the traffic is from the Organic Search channel. When I click into Organic Search, it says that the keyword they used to get to my website is the URL for the traffic bot website (e.g. www.botexample.com). When I drop this URL into the search term exclusion tool in Property>Tracking Info, it doesn't actually filter anything out. That bot traffic will still appear in my Google Analytics home page.
Thanks in advance for the help!
search term is a different dimension from kewyword. The first is terms used in the internal search, the second is the keyword entered in Google Search. The second can't be used in a filter. So you have to find another identifier to use to exclude bot hits.

should i use custom campaigns (utm) for links to other sites?

I post quite a few news links that go to outside sources/websites and i'm just not sure if there's any point to adding custom campaign parameters (google analytics; utm) to those links. is there any kind of tracking that can be done on links that don't send people to my site?
You probably should not, unless you have some sort of affiliate deal with the other site and they ask to to add parameters to identify traffic you send to them.
But parameters in outgoing links will show up in the GA account of the linked site, not in your own, so this will be of no use to you.

How to track traffic of example.com/?ref=uniqueCode with Google Analytics

I give each visitor who signs up to my Google Form an unique url to my landing page for them to share with their friends. The idea is the more they share and their friends visits the site through their given unique url, I'll move them up the waiting list for a product launch.
So for each visitor I gave them example.com/?ref=uniqueCode which is unique to each visitor. Currently I'm using Google App scripts to programatically generate individual url to each visitor who signs up my Google Form.
The goal is if I see traffic coming in from eg: example.com/?ref=a, and I know tag a belongs to John Doe, I'll move John Doe up the waiting list.
Tried googling for a solution but couldn't find any. All solution directs me to creating a particular campaign in Google Analytics with the URL building which really isn't the right solution for this purpose.
How do I set this up with Google Analytics and track the incoming traffic for each unique code of the ref tags of each user?
Going over your question I cannot see why URL builder does not fit your needs.
However, when it comes to immediate and accurate statistics of incoming referrals you may also use a server side script to track incoming visitors.
Also for lots of existing CMS there are plugins to track referrals. If you use a CMS please update your question.

How To Get Results For Paid Traffic On Google Analytics

am having a bit of trouble with regards to google analytics. I've been searching for clues on how to construct my query to return results for Paid Traffic under Traffic Sources-->Search-->Paid but to no avail. Apparently ga:medium==organic works as a filter for Organic and according to documentation ga:medium only accepts ppc, organic, referral or (not set). Any one knows how to get the results for Paid Traffic? Thanks in advance.
Don't know about the API, but in the interface the medium for paid traffic is "cpc", so "ga:medium==cpc" should be worth a try (actually I use this when I query GA via Google App script, so I'm pretty confident it will work).
According to Google's official documentation (https://developers.google.com/analytics/devguides/reporting/core/v3/common-queries) the full paid traffic is the following:
filters=ga:medium==cpa,ga:medium==cpc,ga:medium==cpm,ga:medium==cpp,ga:medium==cpv,ga:medium==ppc
According to Google's "Default Channel Grouping" definition (under "Paid Search"), you should apply the following filter:
filters=ga:medium=~^(cpc|ppc|paidsearch)$;ga:adDistributionNetwork!=Content

Can I present google analytics data to users within my application?

I'm creating an auction site and would like to provide my sellers with analytics related to their product pages - visitors, search terms, etc. I could roll my own analytics but want to know if it is possible (or forbidden) to use google analytics within my application and present that data to my users. Is this possible, has anyone done this and, if so, how did you go about it. Thanks in advance
Sure, you can do this.
The easiest method is to give your sellers direct access to GA. I have no idea how you have your GA interface setup but you can setup profiles in lots of different ways (filters, segments, etc..) to have the profile show data only for the specific seller, and give their GA account access only to their profile.
Alternatively, GA provides an API for retrieving data from them and displaying on your own site.
Also you can provides Real time data reporting via Google's Real Time API - https://developers.google.com/analytics/devguides/reporting/realtime/v3/devguide
Which will provide several data in the manner of dimensions and metrics

Resources