Category: Google

 

How to recover an Google Analytics Tracking Code, when you changed the website without it?

How to recover an Google Analytics Tracking Code, when you changed the website without it?

Google cached the website to view web pages cached in Google Search Results
Use the https://webcache.googleusercontent.com/search?q=cache:your-domain-url

Example:
1- https://webcache.googleusercontent.com/search?q=cache:https://ukgoodbye.co.uk

2- Step 2, Right click, and select “View source page” and search for Google tracking code on cached page.
Example it should look like:


 

.....
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-79894830-1');
....

Now check if the Google Analytic and the site can be crawl by the robots
You can use third parties website as http://www.gachecker.com/, to Check your entire site for missing Google Analytics or Google AdWords code with one click

Google API manager

Google API manager

Creating an API for a Reverse Geocoding With Google Map API And PHP!

After created an API key, when I trying to test it, I have received the next message:
https://maps.googleapis.com/maps/api/geocode/json?latlng=40.714224,-73.961452&key=AIzaSyDWpVDQyIieftj5WOKekltjoDx3z8rnowY

Result:

{
“error_message” : “This IP, site or mobile application is not authorized to use this API key. Request received from IP address 86.182.65.135, with empty referer”,
“results” : [],
“status” : “REQUEST_DENIED”
}

google api reverse enconding

Editiing/creating a Credential for a Browser API key

Accept requests from these HTTP referrers (websites) (Optional)
Use asterisks for wildcards. If you leave this blank, requests will be accepted from any referrer.
Be sure to add referrers before using this key in production.

*.camssay.com/*

*.camssay.co.uk/*

Once I click to save, I have received the next message:

Sorry, there’s a problem. If you have entered information, check it and try again.
Otherwise, the problem might clear up on its own, so check back later.

Google saving a credential

Using the console for developers by Google

One account for all Google is true?

One account for All Google is not 100% true?

It looks like with one account in Google is for all Google, but here you can find out is not 100% true.

1- I use my Google account to access my https://www.google.com/webmasters/tools, where I set up the domain camssay.com and camssay.co.uk. I have verified them on webmasters website. Check it on the next images:

camssay.com verified on Google webmaster tools

camssay.com verified on Google webmaster tools

camssay.co.uk verified on Google webmaster tools

camssay.co.uk verified on Google webmaster tools

2- Once I tried to create an API by using the console of developers(https://console.developers.google.com), using the same account.
When I have added my project, on the “Credentials”. Using the option “Domain verification” by adding my sames domains names(camssay.com and camssay.co.uk)
add domain again

Google asks again to verify the same domain:
camssay.com verify again

Conclusion:
I believe to be like one account for all Google, should not ask two times for a verification(like admin in both side). If I have verified my domain name using the same Google account on the Google webmaster tools, Google should not ask again to verify the same domain on Console developers. The first verification was with Google not on Yahoo, Baidu, Bing or Yaindex, so is not sense to ask again.