I've created a custom dashboard with automatic monthly emails, but I can't get the dashboard to show analytics of the last 30 days by default. I have to set the period manually each time I open it. The default value on Google Analytics seems to be 7 days.
I would like the period to be set to the last 30 days by default so when I open the dashbord or when an email is sent, it shows the right period of time.
How can I achieve this?
Related
Background
I am currently using Google Tag Manager to populate the Sales amount into a Custom Metric in Google Analytics. This is the code I use to push Sales amount to Google Analytics.
ga('set', 'metric2', {{salesvalue}});
Other information
My custom metric set up in Google Analytics: https://i.imgur.com/kX3aUto.png
I know that the metric is firing with the correct values since it is showing up in GA Debugger: https://i.imgur.com/lGIxCw1.png
Error
Despite the above, I do not see any information in Google Analytics: https://i.imgur.com/WtxChgY.png
Questions
Is there anything wrong with my setup? I have waited over 3 days but still no data.
By using ga('set') does it mean that if a user makes 2 separate purchases in the same session, only the latest sales figure will be reflected instead of the total of the 2 purchases?
Thank you
In your GA Debugger console, the metric2 parameter should be appearing within the pageview send data (along with all the other data being sent to GA at that time). If it is not there, you could be running into a race condition or some other technical issue. If it is there, then you'll know that it is definitely being sent to Google Analytics and something else is wrong. It should not take long to appear, and if you see any rows of data (as you did with your screenshot) the metric data would be there at that time.
Regarding your 2nd question, custom dimensions have scopes that are configured when you create them, but custom metrics simply add up. If I had a custom metric of "clicks on a button" and user clicked it 3 times in their session, the custom metric would be 3. Likewise, if your custom metric is listening for sales value, it will add up to the total value in that session.
Hope that helps at least get you some more clues as to what is wrong.
In GA dashboard, there is only report of number of active users in a day or week or year. If I need a report to collect which user id who visits my website, I have to click the range of the date day by day and export so many excels in order to combine them into one.
Is it possible to get a list of all user ids day by day.
The user id field that you have submitted with your google analytics hit data is used for internal processing. It is not something that you can actually see in either the google analytics website or the google analytics api. Its used similar to the session id.
If you want to see it i recommend you try adding it as a custom dimension.
I can see traffics in realtime stream, there are active users on my site.
But I can't see visitor information in standard report.
My site was set up long times ago, and previously data collecting works fine, so it shouldn't be the 'new property not display data within 24 hours' issue.
I did modify my property yesterday, I've added 'referral exclusion' item, and deleted few minutes later.
There're no filters in my view anymore.
No hits collected mostly like happen after I've done item 4(change property).
How can I fix this issue, any ideas?
Did you check your monthly quota? (admin > property settings > property hit volume > last month).
In the free version of GA you've 10 million hits per month per property.(https://developers.google.com/analytics/devguides/collection/analyticsjs/limits-quotas).
Moreover if you send more than 200,000 sessions per day to Analytics will result in the reports being refreshed only once a day. This can delay updates to reports and metrics for up to two days.
(https://support.google.com/analytics/answer/1070983?hl=en)
Maybe one of these conditions is the cause of the issue.
I got some problems with the automatic generated reports option in Google analytics.
So, i made some reports in my dashboard, personalized them and they are ready to be send to the customer.
I set the dates : 1 Januari - 31 Januari 2014 and compare them with 1 Januari - 31 Januari 2013.
I use the E-mail option in google analytics and use the option automaticly send this report every first of the month too the customer.
But when the customer recieves the reports it doesn't display the dates i setted, but it displays the dates i sended the reports. So i double checked, tested, sended them again and kept facing the same problems.
But when i don't use the automaticly generated option and send them directly to the customerm, the dates are right.
How can i fix this problem ?
As far as I know, you can't send automated reports with a time range set beyond what Google Analytics has built in - Once, Daily, Weekly, Monthly, Quarterly.
These settings send the report for the previous specified time period.
If you want to send a monthly report with the previous year of data, you are out of luck. Monthly reports only show the previous month and so on for the frequency settings. In short, no rolling data of a user specified time period.
And, no comparison data either like what you are trying to send.
I have to send the previous 90 days of data from a report every month. Since I am unable to do that in Google Analytics with the scheduled reports, I schedule GA to email me the report once a month as a reminder. I then go in and manually create the 90 day report and use GA to email it using the Once frequency.
I am interested in seeing visits on my site broken down by hour - is there any way to generate a report of this in Google Analytics? It appears that all metrics are only broken down by day. Maybe I can get this information through the GA API?
Since Google Analytics was revised the currently accepted answer is no longer available. The current version of Google Analytics will let you view visitors per hour:
Go to the Reporting Tab
Select "Audience"
Select "Overview"
Select "Hourly"
If you're trying to determine total traffic by hour of the day for a given date range then you can use this custom report:
https://www.google.com/analytics/web/permalink?type=custom_report&uid=pToP7693ReSxfSIpbqHmWg
Only a few reports have hour-by-hour data; as far as I know, they're all in the 'Visitors' section.
For example, to see Visits by hour over a period of time, click Visits, Visitor Trending, then Visitors. Then, in the top right of the report, select Graph by: (icon of a clock)
All of the reports under Visitor Trending have hour-by-hour data, except Absolute Unique Visitors.
As far as the API goes, you can check what query combinations are valid here (since there are restrictions): http://code.google.com/apis/analytics/docs/gdata/gdataReferenceDimensionsMetrics.html
According to that, all metrics can be viewed by an hourly dimension except Campaign metrics and Visitor (not to be confused with Visit) metrics.
You can test the query you want to run with the Google Analytics Data Feed Query Explorer
If using a (downloadable, emailable) custom report is an option, you can use the custom report described on http://salman-w.blogspot.com/2012/07/analytics-day-of-week-hour-of-day-report.html
The article tells you to do the following:
Create a custom report with flat table (I am sure it will work with explorer style reports too)
Add the dimension hour (not hour of day)
Add the metric visits, pageviews, etc
Preview