Posts

Showing posts with the label Google

Create Google map API key free

Image
Get API Key Quick guide Step 1: Get an API key Click the button below, to get an API key using the Google Cloud Platform Console. You will be asked to (1) pick one or more products, (2) select or create a project, and (3) set up a billing account. Once your API key is created you will be prompted to restrict the key's usage. (For more information, see  Restricting an API key .) GET STARTED Step 2: Add the API key to your app When loading the Maps JavaScript API, substitute  YOUR_API_KEY  in the code below with the API key you got from the previous step.   <script async defer src = "https://maps.googleapis.com/maps/api/js?key= YOUR_API_KEY &callback=initMap"   type = "text/javascript" ></script> Detailed guide Follow these steps to get an API key and add restrictions: Go to the  Google Cloud Platform Console . From the Project drop-down menu, select or create the project for which

Implement Google Analytic in Your Website

Image
How to add a new website in Google Analytics "In this article I share step-by-step screenshots showing how you can add a new website (property) in Google Analytics under an existing account." Step 1 Go to  https://www.google.com/analytics/  and click on  Access Google Analytics  at the top right.   Step 2 Click On Start Free Step 3 And The Click on Get Tracking And Accept Terms & Condition, Step 4 Add Below Script to Your Code 

Using the new noCAPTCHA reCAPTCHA with Node.js and Express

Image
Using the new noCAPTCHA reCAPTCHA with Node.js and Express   Google recently released a  new version of reCAPTCHA  that eliminates typing for many users. Here's a quick how-to for integrating it in your Node.js application. We're going to use Express for simplicity, but these steps are mostly agnostic and could be wrapped into any application. Step 1: Register your site Head over to the  reCAPTCHA site  and add your website to the list. You'll be presented with a screen like this: Copy down the secret and site keys, you'll need them soon. Step 2: Integrate it   Build out a basic Node.js application. The key point is that your HTML view will contain the div listed on the reCAPTCHA settings page, along with the reCAPTCHA client-side JavaScript. On the server, a function similar to the following is needed to verify the submitted claim with the reCAPTCHA server: function verifyRecaptcha(key, callback) { https.get("https://www.