Is the Embed API suitable for me to create some read-only charts to put on my web site for public viewing? The charts should pull data from GA in real time when the page is loaded. There has to be no authorization required.
I am not referring to using the API as a property owner to review my own statistics.
Yes, you can follow this guidelines: https://developers.google.com/analytics/devguides/reporting/embed/v1/getting-started
Related
We by mistake created a Google Analytics Property of type Apps + Web(as in image). But it restricts us from using many Web specific features (like adding custom dimensions and connection with Google Tag Manager).
So we create a new property of type Web (as we anyway won't need App related things anytime sooner), but now how can we migrate all analytics data(of 4-5 months) to the new property.
We tried to go through the docs and didn't find any related help.
Any input would be helpful.
There is no way to migrate the data from one Account, web property or view in google analytics to another. Once the data has been sent the data is there forever unless you delete the account.
I can share access to account, property and view in GA. But when I share a report only its template is shared and the person should setup the report on its own.
So, is it possible to give an access to the reports in view?
Thank you.
Custom reports can only be shared as a template except if someone has access to the property and view you want them to see. In order to share your report without giving them access you'd need to send them an export of the report or build them a Data Studio dashboard.
If the person does have access to the property and view, they can use your template shortlink and them pick the correct view and see your custom report.
If I wanted to build a scraper that pings each URL on a site and stores the adobe (or Google) image request, how would I go about this? I.e. I just want something that grabs all the parameters in the URL posted to Adobe in a csv or something similar. I'm familiar with how to build simple web scrapers, but how do I grab the URL I see in for example Fiddler that contains all the variables being sent to the Analytics solution?
If I could do this I could run a script that lists all URLs with the corresponding tracking events that are being fired and it would make QAing much more manageable.
You should be able to query the DOM for the image object created by the tag request. I am more familiar with the IBM Digital Analytics (Coremetrics) platform and you can find the tag requests using accessing the following array document.cmTagCtl.cTI in the Web Console on a Coremetrics tagged page. I used this method when building a Selenium WebDriver test case and wanted to test for the analytics tags.
I don't have the equivalent for Adobe or GA at the moment since it depends in the library implementation am trying the do the same as you for GA.
Cheers,
Jamie
I have a page in wordpress. And I developed an android application that calls to word press's rest api , to retrieve existing pages in json format. Then I parse json and display in application.
My question is that, does my requests to rest api, affect page view in google analytics?
Regards
Ceyhun
The answer to your question is: NO.
the reason is as simple as the fact the there is no html being loaded when you make a JSON request.
the analytics api is a javascript code that is being loaded with the page in your site but JSON pages are just pages with a string inside of them.
so there is no real HTML being loaded > the analytics code is not activated.
If you want users to count in your analytics you should use the Analytics SDK
I have some files and folders in my Google Drive.And I have a website.
I want to show my Google drive content in one page of my website.Any body can view the those data.
I tried this since morning.Using javascript I did that.But in that case it only show the data when I login using that Google account.But from other machine or with out sign in using my account it's not show any data.I checked from firebug it's giving a error like login required.
Can any one help me to solve the problem.I will like to do that using asp.net.
Thanks in advance.
Share a folder with public Internet, use an API key to query the files under that folder with an API key.
gapi.client.setApiKey(API_KEY_HERE);
gapi.client.drive.files.get({
'q': '"<publicFoldersId>" in parents'
}).execute(callback);
Obtain an API key from API Console by generating a key for browsers [1].
Note: I'm using the JavaScript client library, available on [2].
[1] https://developers.google.com/console/help/#generatingdevkeys
[2] https://developers.google.com/api-client-library/javascript/