Best way to generate an automated report in Google Analytics for a specific collection of URLs - google-analytics

Currently using Google Analytics as a supplement to our paid tracking software, but neither of them are giving us exactly what we need.
I have a list of about 60 or so urls (out of about 1500) on the site that I wish to setup a monthly report for that can be emailed to multiple recipients. I can't seem to figure out how to create a report showing just the hits on these 60 urls, I can apply advanced filters on the content page but those disappear after a while and sometimes error out when adding too many URL's.
Is there a method I'm missing in Google Analytics to achieve this goal or am I better running an SSIS package to pull the URL's from the API and formatting a document that way?

Yeah, advanced filters are not really designed for this kind of thing.
Here are some things which may work for you:
Try setting up a new GA Profile with an Include filter to filter only the URLs that you want to report on. You can use a regular expression to identify the 60 URLs. Then these will be the only URLs tracked in that particular profile.
Try setting up an Advanced Segment to select the Pages using a very long "OR" filter.
You could set up a new GA account and log the URLs into that account with additional tracking code. This is not really recommended as the 2 accounts will share tracking cookies.
Use Excellent Analytics to pull down data into Excel for the URLs in question using the GA Export API.

Related

In Google Analytics: How to combain data from several subdomains in one report?

My need is to combine the same type of data (Behaviour/Content drilldown) from two different subdomains on my site. (For instance Unique page views, etc.) The main site is https://www.nacka.se and I need two combine to subdomains like https://www.nacka.se/xxxxxx and https://www.nacka.se/yyyyy so the data can be seen in the same report, and then exported to .pdf.
But I simply cannot find out how to do this. I guess that this must be done through "custom reports". I have been informed that it should be possible in some way through using "the common denominator" in the URL (www.nacka.se), but how?
Most thankful for any advice.
FYI what you're referring to is called a subfolder, a subdomain would be something like https://somethingelse.nacka.se/
To add to DalmTo's answer:
If different properties/tracking IDs (UA-XXXXXXX-X) were used
Google Data Studio: that's probably the easiest way to create reports from multiple properties. Just create 1 data source for each property and that's it.
Google Sheets with GA API add-on: if you prefer working with spreadsheets.
GA 360 (formerly GA Premium): it has a roll-up feature for cross-property reporting, but you have to pay several $K a months for 360
If you used the same property/tracking ID
Google Analytics reporting UI: go to Reports -> Behavior -> Site Content - Content Drilldown and you'll see a breakdown of top-level folders
Google Analytics API: you can still use Data Studio or Google Sheets options listed above or build your own solution
For all above options, the GA dimension you're looking for is called ga:pagePathLevel1 in the API, and Page path level 1 in the in the reporting interface.
Assuming that the data is being insert into different properties on Google analytics website then the simple answer is you cant. There is no way to analyse data between websites in the Google Analytics website.
You could attempt to use the Google Analytics API to extract some data out for each of the websites and analyze this data locally although I would personally question how useful any results you would get for comparing different websites would be.

The Google Analytics Vote For Trump Analytics Spam

We were checking newly implemented Google Analytics for our mobile app and surprisingly there are a lot of visitors from multiple countries but in actuality, we haven't released our app for any store and it's just beta between 5 main users.
After checking Google Analytics report in details we have found that it got spammed by Bot call "Trumps Bot" when something happens on your account you can see following lines in your language section.
“Secret.ɢoogle.com You are invited! Enter only with this ticket URL. Copy it. Vote for Trump!”
There are a lot of solution available to avoid this data in your reports using the filter but i was just wondering if there is any concrete solution on permanently remove this data from my reports and also is there anything we can do to avoid such data in future as its seriously affecting business strategy.
Due the tecnology used on Google Analytics the only way to eliminate this referal is using a filter, check one common point of all this hits . In this case is a hard one, because all the parameters changes , exept for the language, for a well know reason, to see the spam.
So try to use this one, in my case works
I highly recommend you read the community policy, this can be considered as off-topic question
Analytics spammers are always trying to find new ways of getting attention, and with this one, this spammer hit it big.
It is not possible to permanently remove it unless you delete the whole property. But you can create and advance segment to get a clean view.
But the most important part is blocking it so it doesn't pollutes your data. For this particular type of spam you should create a custom exclude language filter with this expression:
\s[^s]*\s|.{15,}|.|,
That expression will block any hit that doesn't use a proper language. That combined with a valid hostname filter should prevent most of the current spam and save you a lot of headaches.
If you need help, you can check this step by step guide for building these filters and creating the advanced segment to remove it from your historical data.
Here is also a related question.
Login in to Your Google Analytics account
Select ADMIN Section
Click on All Filters -- Add Filters
Give a filter name such as -- Include only website traffic
In Predefined section, select  Include Only
for more... Click Here

Filter many subdomains Google Analytics

I have a website www.xxx.com with an universal Google Analytics code that's run on all the subdomainswwww.yyy.xxx.com wwww.zzz.xxx.com for example. There are over 300 subdomains.
In my Google Analytics, I would like to filter those, so I still can see the raw data for all sites, but also for each subdomain. I just realized, that I can't filter existing data - is that true?
I have tried to set up some filters according to this guide and it works fine. The problem is, that I have over 300 pages, can I automate this somehow? And is it true, that I can't get some reports somehow over existing data with new filter?
You can only have up to 50 views (profiles) in one GA account, so to ask if you can automate 300 is a moot point.
You could use segments which have the advantage of being able to work on historical data (which view filter can indeed not do). However I don't think the interface supports 300 Segments.
If you use the API you can programmatically create segments on the fly when you pull data, but of course then you don't have the nice interface and would have to create you own reports.

Google Analytics: Report delayed conversion?

We have a site that tracks conversions through Google Analytics for redirects to an affiliate. However, not all redirected visitors convert to a sale after they leave our site. Our affiliate reports back to us weekly on who converted (and we can identify an individual user session from that report). Is there a way to get that conversion data back into Analytics? We've got a great coding team, but I just need to point them in the right direction.
Good question Jeff. If you don't mind the accuracy of the timing being off, your team could certainly just step through your site and intentionally trip the conversions.
Other than that, you may look into using a custom solution to bulk import that data using this type of API: Google Analytics for Mobile Websites
This Google Analytic server-side solution supports PERL, ASP.NET, JSP, and PHP. If you're looking for a repeatable process for batch importing GA data, this maybe a viable solution for you.
Hope this gets you going in the right direction.
I would not recommend manually 'tripping' the conversions.
There is no easy way to get the data back into Analytics. And it would depend on your reporting requirements (time lines, etc)
One way to approach this is to set a custom variable that is scoped to a visitor that would identify the visitor in an anonymous way (not personally identifiable manner, beware the privacy policy).
http://cutroni.com/blog/2011/05/05/merging-google-analytics-with-your-data-warehouse/
So when a visitor comes to the site, a custom variable would get set. This variable acts as a key to associate behavior on the site and the affiliates. Once you receive the data about which visitors converted from your affiliates associated to the non-personally-identifiable ID, you can use this to have code fire some conversion events once it recognizes on a separate visit that a visitor with certain custom variables set using the _getVisitorCustomVar()
http://code.google.com/apis/analytics/docs/gaJS/gaJSApiBasicConfiguration.html

google analytics api - Advice on integration with web app

This is more a question of if this is the right way to achieve the desired solution.
We are building an eCommerce store like Shopify. We want to display report/data to our users for their stores.
Using GA can we do this. We was thinking of using one account. Adding the tracking api. Posting the store sales using the eCommerce plugin.
Then pulling the data back into our control panel, show graphs etc.
Is this a workable solution.
What would the issues be.
Best way to segment for each store so that we don't have data bleed (we may have thousands of stores - coincidentally they would have a domain like mystore.yourstore.com)
Any advice or better ways of us doing this without re-inventing the wheel.
Thanks
You can segment data with a custom Google Analytics variable or by setting the subdomain, e.g.:
pageTracker._setDomainName("subdomain.yoursite.com");
I think your approach is viable, but the notable challenge is that you have build out custom code to pull all of the data from Google Analytics into your application. I don't know of many off the shelf products that would offer this type of segmentation for analytics without requiring you to manage and create users for every subdomain/store.
The only thing I can think of is building out automated reports in Google Analytics (or similarly in Omniture) and have them sent to your store owners. But unfortunately those would be static reports such as PDFs.

Resources