I want to plot pageviews per country and per month in google analytics so I have a result like this:
Month / Country / Pageviews
October 2014 / Germany / 45.554
October 2014 / Russia / 32.435
...
November 2014 / Germany / 48.453
November 2014 / Russia / 33.786
...
I have tried this:
Audience -> Overview I have selected a long period and plot per month. Then I can get a country breakdown for that period but not per month.
Also it looks like I can only retrieve "Sessions" and not "pageviews" per country. Also in the detailed report, pageviews does not even show up.
So I tried this crazy workaround:
Behavior -> Site Content -> Content Drilldown
In the table below I have selected "country" in the 2nd dimension. Now I see each content drilldown per country and I also see the pageview. But I cannot group it per month. So I could now sort by countries, show all rows (a few thousend) and export via Excel to group countries together to have the pageviews per country in that period. I would have to repeat that for every month I want to look at -> lot of work.
Is there an easier solution to this?
Have you tried creating a custom report?
In your GA account, go to Customization, and then put in your metrics and dimensions.
Then click, Save.
You'll now have a custom report that you can email to yourself every month.
Related
Context
A seller is from one and only one country (M). An end user wants to purchase membership which costs 500 EUR.
It appears that the seller's country (M) is taken as a reference when calculating taxes not only for country M but also for all other countries. In this example, I defined two countries and their different tax rates.
Tax for country M is 9%, and when I select it, then the system spits out "500 EUR (incl. 41,28 € tax)"
41,28 € is 9% of 500.
However, if during the checkout I select "country C" then the system spits out "555,05 € (incl 96,33 € tax".
The way THIS is calculated is by taking a non-tax amount from country M 458,72 EUR (500 - 41,28) and adding to it tax amount defined for country C (21 %).
458,72 EUR x 1,21 = 555 EUR.
(This does not make sense. The user changed the country during checkout process, but the system ignores it).
This way, what is defined as the package price, changes constantly (as example above instead of 500 EUR it shows 555 EUR as the total price)
The way it SHOULD be calculated based on my opinion is: when a user during the checkout selects country C the full amount defined for the entire package (500 EUR) and defined tax rate for the selected country (country C = 21 %) should be taken to calculate the tax amount.
I would expect the result: "500 € incl 86,77 € tax."
(86,77 is 21% of 413,22 EUR)
Question:
Why is WooCommerce not refreshing country during the checkout when a user selects a country different from store country?
How can I setup this functionality with WooCommerce?
Target functionality is to define membership packages for everyone independent of countries. And all users should see (and pay) the same price.
But when a user from country M goes through the checkout process then in reference to the total price the tax should be calculated. Same should work for any other country.
I am using the calendar in list mode and a question has arisen. Can I select a specific day?
In the list mode I have a full month loaded, but when I enter for the first time I would like to select a specific day, by default, the day we are on.
Thanks for the comments, but what I need is to show all the information, and be positioned on a specific day, not always on the first day that has information, usually on day 1 of the selected month
It's possible?
Day view
list view
I used the method ".fullCalendar ('gotoDate', moment (" 30/10/2018 "," DD / MM / YYYY "))". In the rest of the views it works correctly but in the list mode the information of that day is not shown but it continues to appear on the day 01/10/2018.
Thank you
I want to create a heatmap in Google Datastudio similar to the "Users by time of day" heatmap in Google Analytics.
This is how it looks in Google Analytics.
THE FIRST PROBLEM is that when I have my columns as the days of the week, it sorts on ascending/descending value alphabetically, NOT Sunday, Monday, Tuesday, etc.
THE SECOND PROBLEM is that I can't actually get the heatmap coloring.
THE THIRD (not a problem, but a preference)...is there a way to group every 2 hours like Google Analytics does?
I am creating this using the PIVOT TABLE chart. Should I be using a different chart? Any other ideas?
You can get something pretty close by doing this. Add a Pivot table, and modify the following settings.
Row Dimension - Hour
Column Dimension - Day of week
Metric - Users
Sort Row 1 - Hour - Ascending
Sort Column 1 - Day of Week Ascending
Then under the Style tab
Metric - change from Number to Heatmap
For the 2h interval I solved it by going in to the data source editor, click count on hour then it creates a copy that takes a formula, so i entered the formula
CASE
WHEN HOUR IN ("00","01") THEN "00-02"
...
...
...
WHEN HOUR IN ("22","23") THEN "22-00"
ELSE "Other"
END
I've recently written a tutorial on how to create this report in Data Studio.
As a summary, you need to use a "Pivot table with heatmap". Use Hour of Day as your Row Dimension, and a calculated field for Day of the Week as your Column Dimension. The code for the calculated field is in my post and it essentially adds a number before the name of the day so you can sort them alphabetically. Then, add your Metric: Sessions.
There is also a link to the dashboard that I made publicly available for anyone to copy and apply their own data.
The link to the post with step-by-step tutorial and access to dashboard template is: businessahead.co.uk/users-by-time-of-day-google-analytics
I can do new moment().week() to get the week number for the current day.
When the current day is a Sunday/Monday which can be set as first day of week by my user, how can I do something like this to get the week index with momentJS:
new moment().firstDayOfWeek(1).week() // monday
OR
new moment().firstDayOfWeek('monday').week();
I do not want to load or change a locale setting via including .js files...
My user can sit in the United States where first day of week is seen as Sunday.
But my user is from Europe so he wants to have European calendar settings where a week starts on Monday.
i have four forms namely file status , load file, reconciliation, and reports.
Reconciliation form has 2list boxes.. namely fiscal year and fiscal month. In that we have to choose for eg say i chose fiscal year 2012 and month as 1, then when i click open the reports form i have reports in there which displays information as per the year and the month.
what my requirement is in this report it displays fiscal year as i have chosen in the first step. But i do not want it because fiscal year 2012 and fiscal month 1 actually corresponds to actual year 2011 and month 10 i . e October. i want this to be displayed over there.
IF the corresponding Calendar Month/Year is always the same period behind, then a simple calculation could be done:
Format(DateAdd("M",-3,Format([FiscalPeriod]&"-01","ddddd")),"MMMM YYYY")
-OR-
Format(DateAdd("M",-3,Format([FiscalYear]&"-"&[FiscalMonth]&"-01","ddddd")),"MMMM YYYY")
If it's not, then You'll need a lookup table for each Fiscal Period and it's related calendar Month. Then have that value looked up on Your form using Dlookup() and have the report reference the lookup field instead of the List Boxes.
From the Access Help files:
DLookup(expr, domain [, criteria] )
Sample:
=DLookup("[ProductName]", "Products", "[ProductID] =" & Forms![Order Details]!ProductID)