Google SSO and passing data to Ezoic

hqarrse

Active member
I've recently swapped advertising provider to Ezoic which I'm generally happy with. One thing they've suggested is that they'd like to be able to identify users who have logged in via the Google SSO which will improve revenue.

To achieve this, they've suggested that I add the following code "to the same section where your Google SSO code is to ensure we can identify users who log-in via the SSO"

Code:
if (auth2.isSignedIn.get()) { va r profile = auth2.currentUser.get().getBasicProfile(); var email = profile.getEmail(); // Use the email as needed }

I'd be grateful for any suggestions about how to do that and any issues it may create!
 
Back
Top Bottom