I have JavaScript function to return list of google analytics account names for a given email address. I want to get view Id by giving account name or account Id.Is there any API or way to do this?
Considering using Account Summaries instead. It should give you a list of all accounts/properties/views. I think it will work better for you use case.
There is also a javascript example for calling it here.
I know that there aren't many JavaScript examples in these but have you tried checking out the official Google Analytics API and documentation? It makes things so much easier when you can go off of the given options and then convert them to JavaScript.
Related
Basically the question is in title: Can I use the same Google Analytics (gtag.js) tracking ID for multiple subdomains? I know it's technically possible (I tried it), but is it "wrong" in any way?
I would prefer to use a single ID for multiple subdomains for practical reasons and to keep them associated with the same website (for example www.domain.com, docs.domain.com and demo.domain.com). However, in "property settings", there is a "Default URL" setting, which perhaps implies it should run from specified domain only? Or maybe that's just "default".
I guess I could use "filters" to track specific subdomains. Just curious to know if the recommended behavior would instead be to create a new property (different ID) instead?
Thanks for any useful feedback!
The answer must be YES. I see in analytics that one can setup multiple "views", each with different website URL's.
As you have been told in the comment, the domain you are showing in the image does not affect data collection and is only for preview purposes.
In order to collect data from all your subdomains you don't have to change anything in the default code.
The option that provides such functionality is cookie_domain (which is set to auto by default). Check the documentation.
I recently discovered a parameter to pass to a google hangout uri to make it "on air": reference
I'm also wondering if I can pass any other parameters. I know that we have app_id, but I'm more interested to know if there are other parameters, such as being able to set the title or the hangout in advance, e.g.
https://plus.google.com/hangouts/_?hso=0&title=EdX%20SaaS%20Pairing
Because then I could direct people to https://plus.google.com/u/0/s/%23hangoutsonair%20EdX/hangouts and they could see all the on air hangouts associated with our MOOC. I did experimentally try passing title=, topic= and name= all to no immediate effect ...
I'd also love to know if there's a way to automatically start the live broadcast, or even better have the hangout be automatically associated with and published to our G+ pair programming community:
https://plus.google.com/communities/100279740984094902927
Many thanks in advance
Got this response from Tim Blasi at Google:
I'm a developer working on video calling. Unfortunately, you can not currently configure the video call in the way you are describing. However, we've received a lot of feedback that this is a pain point and we're currently working to address it. We'll keep your request in mind as we move forward.
https://plus.google.com/u/0/103524399391704001670/posts/JGtpxgvdD5H
resurrecting an old thread, but for a good reason.
i recently found that its possible to bypass the landing page and pre-select your user account
https://meet.google.com/lookup/my-room-name?authuser=my-email#account.com
just replace my-room-name and my-email#account.com
Is any ability to make a search using ORed parameters inside the keywords?
For instance, the request below fetching the 1st level connection with ANDed keywords - javascript, extjs, java.
IN.API.PeopleSearch()
.params({keywords: 'javascript extjs java', facet: 'network,F'})
.result(displaySearchedProfiles);
Looking for a way to use OR between the keys.
Yep, I got the same issue, but I seen that https://apigee.com service can retrieve everything. May be they uses another kind of api
Anyway thanks for your question
It looks like LinkedIn not provide ability to control queering string.
Im working with the google-mapquest mapping API. I need to add some Points of Interest near a certain area from a given latitude-longitude location.
I search the google and mapquest documentation to figure out if there is a method to get all zip-codes in that area but i didnt find anything that does that.
I tried the harvesine implementation to calculate the nearest point given in that radiuos/latitude-longitude and it works fine. The problem with this approach is that i need to update constatntly the database, so i dont like it much.
The question is: Is there a service (google-mapquest or another) that gives you this information?.
No, there is no API for either service that I am aware of. Your best bet is to just get a ZIP Code database and use that. Some really good inexpensive ones are out there. I prefer http://www.zip-codes.com/zip-code-database.asp. Their $40 package is very accurate, updated monthly, and licensed by the USPS (so you know it's quality data).
UPDATE:
I found a WebService that does exactly what i need. You could provide only a simple ZipCode and a country or perhaps a full address and in the response you get the longitude/latitude. Then i send the Latitude and Longitude returned to get a list of all the ZipCodes near the provided coordinates and a given Radius that also can be customized.
You can filter the total rows you want the service to return, or even if you are gonna use miles or kilometers as the measure unit.
So, basically with the returned information, i feed those coordinates for each of the nearest ZipCodes obtained to the google API and render those points of interest into the map that you need to show.
The services are provided by GeoNames. Its an organization dedicated to Geolocalization services. They offer also premium data, but in particular these services are free of use, obviously the information is not as accurate as the premium one, but actually in my tests i found that that is trustful and the response also is very fast.
Another good advantage is that the process to get a Key for use Geonames services it's quite simple.
I left you the link of the services that i'm talking about.
List of available services:
http://www.geonames.org/export/web-services.html
Hope it helps many people.
Regards!
When one visits http://maps.google.com, they are able to type queries into the search field and receive results based on locations or places, and not hard search results, as they would in a normal Google Search query. They're a unique style of result (names of places, locations) suited to the Maps interface for obvious reasons.
I've been digging through both the Maps and standard Google Search API for a couple hours now, and have done multiple searches on this question, and I can't seem to find the answer.
They obviously have the Local Search, but that's been deprecated, and it only yields results if you provide an initial lat/long. I want to be able to find places or locations with no initial lat/long.
Essentially what I want to do is allow a user to type in an address, name of a place or name of a city or state or a zip code, or essentially any other kind of location that is allowable on Maps, and geocode it. I feel stupid because this seems like it has to be there, but nothing I've seen in the API seems to do this.
I don't need the AJAX suggested results, necessarily. Just a way for a user to type in a nice name and geocode from it, though results as a user types would be ideal.
What am I missing here?
What you are looking is Geocoding API from google maps.
Find Documentation here
UPDATE 5/12/2011
Google just opened up public access to their Places API. This is more to the heart of the original question request:
https://developers.google.com/maps/documentation/places/web-service/autocomplete
I think you're looking for the google.maps.Geocoder class:
A service for converting between an address and a LatLng.