Google one tap login noCredentialsAvailable [duplicate] - javascript

I assume it has something to do with this:
For me Google one Tap stopped working on all my sites that previously worked. I added API HTTP refer to restriction in console.developer.com, but I still get a warning message "The client origin is not permitted to use this API." any thoughts? If you go to the page https://www.wego.com/ you can see that Google one tap still works...
https://news.ycombinator.com/item?id=17044518#17045809
but Google YOLO stop working for everyone. I use it like many people for login and it just stop work.
My domain are obviously added on console.developers.google.com
Any ETA for fix this? Some information would be great for people who rely on it.

Google YOLO is not disabled. It is open to a small list of Google Partners.
The reason you were able to access it earlier was because it was open for a short period of time but the whitelist is now readded/enabled.
Reference:
https://twitter.com/sirdarckcat/status/994867137704587264

Google YOLO was put on whitelist after a client-side exploit became clear to google.
People could cover the login button of the prompt with something like a cookie consent (which we all know people automatically accept).
Therefor people could easily steal their gmail or other details due to this google decided to put it on whitelist and review the sites that are using this technology in order to ensure that they are using it as they should.

Google retroactively labeled One-Tap as a "closed beta".
https://developers.google.com/identity/one-tap/web
The beta test program for this API is currently closed. We are improving the API's cross-browser functionality and will provide updates here in the coming months.
The link for the entire project is currently 404, but the beta statement is visible on the wayback machine.

Related

set cookie on the chrome extensions (chrome://extensions) for google analytics

I'm new to chrome extension development. we've needed to trace our customers for out service growth. so we've been wanting to get the metric for retention of our users. but there were some wired thing that same number of users each user type was traced. I attached it below. this is Google Analytics Cohort Analysis of our service.
a screenshot on the google analytics
but I think Event metrics(Behavior > Events) are being collected correctly. screenshot is here.
Google Analytics > Behavior > Events
so I looked for Google Analytics users. and I've figured out that Google’s tracking snippet looks for a tracking cookie on user's device. site address is here. https://www.hotjar.com/google-analytics/glossary/users/
according to these documents, Google uses cookie to distinguish user type between new users and returning user. so I've set the checkProtocolTask option to false into GTM console like this. cuz chrome extension doesn't have http or https protocols.
Google Tag Manager Console
but user cohort is still weird. I really wanna get correct result of new users cohort analysis.
question
why google analytics shows us weird cohort result?
what can I do for this more?
my english ability is not good and I don't know Google Analytics well so my questions are kind of a mess. please understand me 🙏
thanks for reading this question!
Ok, so for Extension tracking, I have never heard of people using GTM for extension tracking. That doesn't sound correct to me. Just because of how GTM deploys analytics, expecting there to be a standard window scope, relying on all the standard window.location values and many other properties and like the resolution, viewport, "this" and such.
Moreover, since you're a JS developer and you're not going to delegate tracking to non-JS devs, you probably want to use GA's measurement protocol directly rather than completely relying on the default library through GTM.
With the measurement protocol, you will be able to explicitly set all the fields you're interested in, including client IDs. You will have to manage user cookies on your side, but it's easier than trying to force web tracking logic to work for extensions.
Here is the parameter reference. It may be very useful to you: https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters
And here is an npm lib that implements measurement protocol. I use it with Node, but it can definitely be used on the front-end too: https://www.npmjs.com/package/universal-analytics
I actually tried quite a bit of npm packages for measurement protocol usage and I found this one the most comfortable for me. There's a lot of them. Feel free to browse.

Google review widget for web-application | write google review using google place api

I created a review portal for my customers to give me a review and ratings on my service via different social networking sites.
Currently I am focusing on google review to be collected via a google widget/flow,
This above image is showing the available list of social networking sites to give review. please skip the Facebook i already integrated that.
When the user clicks "google", the google review dialog will be shown on the page to collect the google review.(Image is mentioned bellow)
I would like to avoid people from going away from my website.
I would like to know how to use google.places.reviews.createPublishReviewFlow for writing Google review via Google review widget. I saw this API Widget service has been used by some websites/web applications
I want some documentation/code/sample any thing which is helpful.
You could use http://getreviewlink.com/ to generate a link for your customers to leave reviews at for Google. This only works for Google.
You could use an iframe.
<iframe src="https://www.google.com"></iframe>
You just have to replace the src value by the right one. The only fear that I have about this technique is that you probably want to know when the user posted his review ; but you can't interact with an iframe (with jquery for example) so you'll not be able to know when the user validate the form.

How to Prevent Authentication for Specific Sharepoint Page

I would like to set our user's Microsoft Outlook Home Page to point to our intranet news page(hosted on Sharepoint).
I finally managed to suppress some JS errors I was getting when trying this (See this question).
However, when users access this homepage through outlook, they are asked to provide their Sharepoint credentials. They are then not required to do so for the next 24 hours. The next morning, they will be asked to provide credentials again.
Is anyone aware of a way around this, perhaps by embedding a script into the page or by setting some specific page permissions? Usually, the user can access the site without having to log in if they navigate via IE, so why does this not carry over to the Outlook web browser?
Any help or guidance is much appreciated.
Many thanks
Have you push down the GPO Settings for IE Settings - Trusted Intranet Zone?
Another way is to turn on Anonymous Access to your portal. See link
to solve this problem I changed my approach completely.
Instead of linking to the web page directly in Outlook I created scheduled task which queries the SharePoint server for the news article data, and then builds an HTML page with the 10 latest articles.
This task runs hourly and the HTML file is linked to on each user's Outlook homepage.
If anyone would like to see the code I use to achieve this please efelf ree to message me.

Facebook conversion pixel and google tag manager

I am not an engineer but im asking question beyond my understanding. The company i work for recently reported that the Google Analytics often gave us wrong statistics. When i tried to scrawl the website's HTML code , I found that the facebook conversion pixel code was put ahead of the google tag manager code on our website. Does that affect how google analytics work ? In my mind, google analytics suggests us not to put other tracking code to interfere GA.
While it defeats the purpose of tag management systems to have tags outside the tag management container Google Analytics will work just fine with other tracking pixels, and Google certainly does not say anywhere that you should not use other tracking software. Nobody would use GA if it interfered with the normal operations of a website.
So no, the Facebook Pixel will not interfere with GA. You can easily check if the data is transmitted correctly if you use the Chrome extensions that Google provides - look for "Google Tag Assistant", that's the most userfriendly option. Install it via the Google Play Store, it will add a small icon to the right of your adress bar, and if you click the icon you can enable it for any given domain. It will display an error via a red icon if something is wrong, and will give some detailled information about what is being sent to the Google Analytics tracking server. That might help you to find the actual error if there is a problem with data collection (it will not help you to find configuration problems).

Why can't I get the full URL from a Google search

I search Google for a phrase which brings up my website.
Google shows a URL similar to
https://www.google.co.uk/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=my%20search
This brings up my website. On the landing page of my website, I have the following javascript
alert(document.referral);
This shows me the value
https://www.google.co.uk/
No querystring!
Research suggests the issue is likely due to my website being HTTP but both Google and my website use HTTPS
Why can I not get the search phrase from the query string?
Edit
Based upon the links I've been provided (thanks) I can see what you are claiming the issue is. Google doesn't allow it! However, I'm not sure I agree with this - there are many web analytical programs which provide this information. The company I have used (which admittedly can only provide keywords for 5% of all visitors) can do this... And I only embed some javascript. I can only assume it's because visitors can home HTTP:://google as opposed to HTTPS::google
have a look at this document: http://blogs.adobe.com/digitalmarketing/analytics/the-impact-of-google-encrypted-search/
It apparently has something to do with google running HTTPS. on my local tomcat server running HTTP, i get
http://servername/tools/errorlog.jsp?env=Prod&logType=EXTAUTHLOG when running
alert(document.referrer) in a console
Duplicate of:
How can I get the correct referer via JavaScript if the referrer uses https? ??

Categories

Resources