I am attempting to learn how to create a pretty simple widget to embed in a web page that will show the pageviews for that page to the reader. Just want to show views over the past 90 days, but as a total number and as a line graph.
I've been fussing with the Embed API reference guide at developers.google.com, and I have managed to create a basic dashboard - but I'm struggling to figure out how to take that code and target it down for only one property and how to filter the query to a particular URL.
Am I barking up the wrong tree, trying to use the embed API?
The embed API is not the way to go for this as it is designed for you to log in and look at your own data. You would need to use something like superProxy instead - https://developers.google.com/analytics/solutions/google-analytics-super-proxy
Related
I'm new in google calendar integration and apologize if this is asked earlier:
I have created four resources for Google Calendar from my Gsuite account, as I want the column layout in frontend using the
<iframe src=''></iframe>
generated from integrate calendar but on frontend only the month week and agenda is showing. I have tried different solution but all of them displaying the week & month if I combined all the calendar to one, than also the view is the same
I want to integrate this only with google Iframe, although using full calendar it is also possible.
Please, kindly check the attachment: I want this backend layout, and to the frontend with an additional option of the list view.
If I did understand it correctly what you want here is to have exactly this view as an iframe embedded on your website.
I'm afraid this is not possible to get that view using the iframe you can obtain following this steps:
https://support.google.com/calendar/answer/41207?hl=en
If you want another view you'll have to build it yourself retrieving the data using Google Calendar API and building the view yourself, or you can also use other existing libraries, like:
https://fullcalendar.io/
It may have a nicer view and the functionalities you are missing, take a look at it!
I know that it might be odd, but I need your help with the google analytics set up.
Task: I need to set up brochure downloads as a goal for international students on a page https://www.cqu.edu.au/international-students/international-brochures .
In a perfect world, I would need to set up an individual goal for each type of brochure download (postgraduation, undergraduate, English courses) but I decided to start from "all brochures" to save the number of goals that I have for the view. Unfortunately, I don't have a chance to set up "events", so I have to work with goals only.
Final goal destination: Any page containing "pdf_file" in its description.
Pathway: come to International section, move to brochures, then go to brochure page (containing "pdf_file" in its description, for ex. - https://www.cqu.edu.au/__data/assets/pdf_file/0005/158540/2017-Undergraduate-International-Guide.pdf).
The problem: I tried to use regular expressions such as "^/__data/assets/pdf_file/." or ^/pdf_file/(.) and I can't see conversions in real time test.
However, nothing helped, and goals (even the page visit) still aren't tracking correctly. What am I doing wrong? And, if possible, how can I split goals across different brochure types?
Many thanks,
Kirill
You are on the right track. You just need one Goal. The problem you have is that after clicking a pdf document you are being redirected to a PDF viewer iframe. This is a PDF view "page" with no Google analytics tracking code whatsoever.If you use are using destination goals the only way this will work is by having installed the Google Analytics (GA) tracking code at the "final destination page".
One way to track pdf "views" is by creating a short url for each one, hence you will be able to track or check how many of them have views.
Another way is to create an onclick event within each link. But this is only possible if you can setup the events in GA. Creating this kind of event tracking will allow you to set up labels for each pdf's name to be able to identify or track each one of them.
I have several Custom Dimensions setup in both admin and in the code on my site.
I have verified that the data is being sent correctly to Google Analytics (I used the Chrome GA debugger), but can't seem to find any reports that show these new dimensions.
Since their changing things all the time, it's probably hidden somewhere, but I've gone through every standard report and haven't seen anything.
So, where do you go to view this information?
Found it! Well sort of. Right now, Google doesn't have a standard report that includes Custom Dimenstions. You have to go in Customization to build a custom report and include any of the custom metrics or dimensions you've created.
If you're new to GA, custom reports can probably be a little confusing so wrote up a quick blog post that walks through setting up, implementing and building reports with custom dimensions: http://benmarshall.me/ga-custom-dimensions/
I've implemented GA on our b2b site. It's strictly internal but we'd like to track behaviors of users to see if some of the sections on the site are relevant. So, it's working, but say you have
www.blahblah.com and you want to also track
www.blahblah.com/edit
www.blahblah.com/askquestion
Do you set up a filter for this? I did try it and not sure if it's working quite yet. Any info/advice would be greatly appreciated. I am brand new to GA.
Thanks
Not quite sure what you are asking.
If you want to know about metrics for the individual pages you'd go to to the Aquisition->Page Content reports. Overview will give you, well, an overview (you can use the filter box to look at the metrics for any specific Url), Content Drilldown will display a view structured by url hierarchy.
If you're after user behaviour you can create segments. If you want to know if somebody vistited the homepage and, after that, the /edit page you'd got to advanced segments (the arrow above the "Explorer" Tab in most views, click "create new segment", choose "sequence" from the advanced tab, choose page as dimension and "/" to filter for as step one, "/edit" as filter value for page two, enter a name for the segment and click save. Now you'll get all reports only for visitors who have visited those two pages, starting with the homepage.
There are a number of predefined segments, you should try them to see what they can do. You need a pretty good understanding of metrics and dimensions in GA to get the full value from segments, but the simple stuff (e.g. analyze differences between marketing channels) is already pretty useful.
So, for page performance seek out reports with page metrics and use filters. To analyze user behavior use segments which apply to most of the GA reports.
Hope that helps, if not you might to explain more specifically what you want to see in your reports.
You can create separate custom report for individual sections and drilldown by almost all the GA provided dimensions. please reffer the sampel provided.
Please access this URL in your browser as this is a predefined custom report which does the same thing you want. This will get saved under custom reports. You need to edit the custom report and give your own path/section insted of "/services/" under filters section
I'm creating web site on zend framework and want to place statistic into my admin panel. Is there any js plugin (something like GA api) for getting styled graphs?
You may take a look at this:
http://d3js.org/
and that:
http://techslides.com/50-javascript-charting-and-graphics-libraries/
it depends on what you want to display a line graph, a map ...
Check out EmbeddedAnalytics. (Disclosure - I work with them) EmbeddedAnalytics is based on the GA API. To do what you are asking is simple:
Create Account and grant embeddedanalytics access to your GA data.
Define your charts/reports.
Get embedding iframe code.
Embed this code into your site where you want them to show.
Additionally, we are working on creating pre-defined dashboard pages which will allow end-user to embed entire dashboards into a page.