This is how to create a Google Maps API key for server applications. This key should not be used in public.
1) Sign in to Google Cloud Console
2) Create a new Project
3) Go to APIS & auth -> APIs and enable Google Maps JavaScript API v3
4) Click Credentials and create a new Public API access Server key
You can view your traffic by clicking APIS & auth -> APIs -> Google Maps JavaScript API v3 -> Reports