Good morning,
I am looking to run a report in Google Sheets using the Google Analytics plug-in to return counts of Users for the Pages visited on our site.
Many of our URL's contain query-string data that I would like to strip out when returning the count. It's proving to be more difficult than I had hoped.
In Google Data Studio, I can do this easily by creating a calculated field with a regex-replace function around the page path. But I can't find a way to do this with the Google API plug-in for Google Sheets.
Can anyone help?
Rachael
Related
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.
Is there any way to merge data collected using 2 different Tracking IDs of Google Analytics?
Using the Google Analytics API you can extract the data you wish from both properties into your own system. Say a database I recommend adding the property id to the tables storing the data so that you will be able to differentiate between the data.
There is nothing out of the box that will do this for you with the exception of big Query. Users with a Google analytics 360 account can extract there data to big query. However I have not tried this I am not sure even that will allow you to analyze data over multiple views.
While #DalmTo is correct that there's no way to do what you ask for regular Google Analytics accounts, it's probably worth mentioning that you can do this if you're a Google Analytics 360 customer.
The feature is called Roll-up Reporting, and this article explains how it works:
https://support.google.com/analytics/answer/6096167
I found this add-on for Google Sheets that can help you with that, it combines the metrics from several Google Analytics properties into one Google Sheet, I hope this helps!
Analytics Aggregator
My team is creating several UTM links and we would like to achieve better understanding of our campaigns through a google spreadsheet.
Our spreadsheet lets us prepare easily new UTM links, but we would also like to gather data related to the activity of those UTM links, that we would otherwise have to get through google analytics and selecting the right parameters
Is it possible to add an extra column(s) that would automatically retrieve such information from Google Analytics ? Maybe a script that we can run once in a while, and that would pull the number of clicks GA has registered for every UTM link ?
Online I have found some scripts to assist UTM link generation, but nothing about actually retrieving/exporting the results automatically to a spreadsheet.
The most straightforward way would be to use the Google Analytics Spreadsheets Add-On and filter (or segment) by your campaign (utm) information. You can configure multiple independent reports for different campaigns and set a trigger to have it updated automatically in regular intervals.
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.
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.