{"id":920,"date":"2024-05-27T10:34:38","date_gmt":"2024-05-27T10:34:38","guid":{"rendered":"https:\/\/www.francescopepe.com\/?post_type=doc&#038;p=920"},"modified":"2025-07-16T14:28:58","modified_gmt":"2025-07-16T14:28:58","slug":"create-google-client-id-client-secret","status":"publish","type":"doc","link":"https:\/\/www.francescopepe.com\/en\/docs\/create-google-client-id-client-secret\/","title":{"rendered":"Create Client ID and Client Secret"},"content":{"rendered":"<p>To access your Google Analytics data or Google sheets, you must be authenticated and authorized. To do this you will need to create a project in the <a href=\"https:\/\/console.developers.google.com\/apis\">Google console developer<\/a> And get your Client ID and Client Secret.<\/p>\n\n\n\n<p>Follow this step-by-step guide to avoid mistakes.<\/p>\n\n\n\n<p>If you already have a Google API project, remember to enable the following services:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/console.cloud.google.com\/apis\/api\/analyticsadmin.googleapis.com\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Google Analytics Admin API<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/console.cloud.google.com\/marketplace\/product\/google\/analyticsdata.googleapis.com\">Google Analytics Data API<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/console.cloud.google.com\/apis\/api\/drive.googleapis.com\/overview\" rel=\"nofollow\">Google Drive API<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/console.cloud.google.com\/apis\/api\/sheets.googleapis.com\/overview\" rel=\"nofollow\">Google Sheets API<\/a><\/li>\n<\/ul>\n\n\n\n<div class=\"schema-how-to wp-block-yoast-how-to-block\"><p class=\"schema-how-to-description\"><\/p> <ol class=\"schema-how-to-steps\"><li class=\"schema-how-to-step\" id=\"how-to-step-1713505210037\"><strong class=\"schema-how-to-step-name\">Go to Google's developer console<\/strong> <p class=\"schema-how-to-step-text\">You can create a Google project for free by going to the <a href=\"https:\/\/console.developers.google.com\/apis\">console developer<\/a>. <\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1713505242823\"><strong class=\"schema-how-to-step-name\">Click\u00a0<strong>Select a project \u279d New Project \u279d<\/strong>\u00a0button\u00a0<strong>Create<\/strong>.<\/strong> <p class=\"schema-how-to-step-text\">Use an existing project or create a new one.<img loading=\"lazy\" decoding=\"async\" width=\"1366\" height=\"635\" src=\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-project.webp\" class=\"attachment-full size-full\" alt=\"\" style=\"max-width: 100%; height: auto;\" srcset=\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-project.webp 1366w, https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-project-300x139.webp 300w, https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-project-1024x476.webp 1024w, https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-project-768x357.webp 768w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1713977270309\"><strong class=\"schema-how-to-step-name\">Enter the name of the project <strong>\u279d<\/strong>\u00a0click the button\u00a0<strong>Create<\/strong><\/strong> <p class=\"schema-how-to-step-text\">Enter a name that will help you easily identify your project. You can also use the name of your site.<img loading=\"lazy\" decoding=\"async\" width=\"1366\" height=\"635\" src=\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-new-project.webp\" class=\"attachment-full size-full\" alt=\"\" style=\"max-width: 100%; height: auto;\" srcset=\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-new-project.webp 1366w, https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-new-project-300x139.webp 300w, https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-new-project-1024x476.webp 1024w, https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-new-project-768x357.webp 768w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1713977389671\"><strong class=\"schema-how-to-step-name\">Click the OAuth consent screen in the left menu \u279d choose User type \u279d click the Create button<\/strong> <p class=\"schema-how-to-step-text\"><img loading=\"lazy\" decoding=\"async\" width=\"1366\" height=\"635\" src=\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-choose-user-type.webp\" class=\"attachment-full size-full\" alt=\"\" style=\"max-width: 100%; height: auto;\" srcset=\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-choose-user-type.webp 1366w, https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-choose-user-type-300x139.webp 300w, https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-choose-user-type-1024x476.webp 1024w, https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-choose-user-type-768x357.webp 768w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1713978211967\"><strong class=\"schema-how-to-step-name\">Add the application name \u279d the support email \u279d the authorized domain \u279d the developer content information \u279d click the Save and Continue button<\/strong> <p class=\"schema-how-to-step-text\">This step allows you to set up some basic data about your app that will be shown on the consent screen. The most important step is the one on the authorized URL. Enter your site correctly.<img loading=\"lazy\" decoding=\"async\" width=\"1707\" height=\"793\" src=\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-oauth-consent-screen.webp\" class=\"attachment-full size-full\" alt=\"\" style=\"max-width: 100%; height: auto;\" srcset=\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-oauth-consent-screen.webp 1707w, https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-oauth-consent-screen-300x139.webp 300w, https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-oauth-consent-screen-1024x476.webp 1024w, https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-oauth-consent-screen-768x357.webp 768w, https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-oauth-consent-screen-1536x714.webp 1536w\" sizes=\"auto, (max-width: 1707px) 100vw, 1707px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1713978093735\"><strong class=\"schema-how-to-step-name\">Complete all 4 steps on the OAuth consent screen \u279d click the Back to Dashboard button<\/strong> <p class=\"schema-how-to-step-text\"><img loading=\"lazy\" decoding=\"async\" width=\"1366\" height=\"635\" src=\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-edit-app-registration.webp\" class=\"attachment-full size-full\" alt=\"\" style=\"max-width: 100%; height: auto;\" srcset=\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-edit-app-registration.webp 1366w, https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-edit-app-registration-300x139.webp 300w, https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-edit-app-registration-1024x476.webp 1024w, https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-edit-app-registration-768x357.webp 768w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1713978174292\"><strong class=\"schema-how-to-step-name\">Go to Credentials \u279d click Create Credentials \u279d select OAuth client ID from the drop-down list<\/strong> <p class=\"schema-how-to-step-text\"><img loading=\"lazy\" decoding=\"async\" width=\"1366\" height=\"635\" src=\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-creating.webp\" class=\"attachment-full size-full\" alt=\"\" style=\"max-width: 100%; height: auto;\" srcset=\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-creating.webp 1366w, https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-creating-300x139.webp 300w, https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-creating-1024x476.webp 1024w, https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-creating-768x357.webp 768w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1713978414493\"><strong class=\"schema-how-to-step-name\">Open the Application Type drop-down list \u279d select Web Application \u279d enter the name of your OAuth 2.0 client<\/strong> <p class=\"schema-how-to-step-text\"><img loading=\"lazy\" decoding=\"async\" width=\"1366\" height=\"635\" src=\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-select-application-type.webp\" class=\"attachment-full size-full\" alt=\"\" style=\"max-width: 100%; height: auto;\" srcset=\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-select-application-type.webp 1366w, https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-select-application-type-300x139.webp 300w, https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-select-application-type-1024x476.webp 1024w, https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-select-application-type-768x357.webp 768w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1713978533113\"><strong class=\"schema-how-to-step-name\">Enter the URL of the site in Authorized JavaScript Origins \u279d in Authorized Redirection URIs, enter the URL of the page to which you want to redirect users after authentication with Google \u279d click the Create button<\/strong> <p class=\"schema-how-to-step-text\">Be careful to enter the redirection url correctly in both fields<img loading=\"lazy\" decoding=\"async\" width=\"1366\" height=\"635\" src=\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-create-button.webp\" class=\"attachment-full size-full\" alt=\"\" style=\"max-width: 100%; height: auto;\" srcset=\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-create-button.webp 1366w, https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-create-button-300x139.webp 300w, https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-create-button-1024x476.webp 1024w, https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-create-button-768x357.webp 768w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1713978687412\"><strong class=\"schema-how-to-step-name\">Copy the Client ID and Client Secret<\/strong> <p class=\"schema-how-to-step-text\">Copy the data that appears on your screen and enter it into the plugin settings.<img loading=\"lazy\" decoding=\"async\" width=\"1366\" height=\"635\" src=\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/copy-google-client-id-and-client-secret.webp\" class=\"attachment-full size-full\" alt=\"\" style=\"max-width: 100%; height: auto;\" srcset=\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/copy-google-client-id-and-client-secret.webp 1366w, https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/copy-google-client-id-and-client-secret-300x139.webp 300w, https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/copy-google-client-id-and-client-secret-1024x476.webp 1024w, https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/copy-google-client-id-and-client-secret-768x357.webp 768w\" sizes=\"auto, (max-width: 1366px) 100vw, 1366px\" \/><\/p> <\/li><li class=\"schema-how-to-step\" id=\"how-to-step-1713979157500\"><strong class=\"schema-how-to-step-name\">Go to Enabled Bees and Services and Enable the following services.<br\/><a href=\"https:\/\/console.cloud.google.com\/apis\/api\/analyticsadmin.googleapis.com\" target=\"_blank\" rel=\"noreferrer noopener\">Google Analytics Admin API<\/a><br\/><a href=\"https:\/\/console.cloud.google.com\/marketplace\/product\/google\/analyticsdata.googleapis.com\">Google Analytics Data API<\/a><br\/><a href=\"https:\/\/console.cloud.google.com\/apis\/api\/drive.googleapis.com\/overview\">Google Drive API<\/a><br\/><a href=\"https:\/\/console.cloud.google.com\/apis\/api\/sheets.googleapis.com\/overview\">Google Sheets API<\/a><\/strong> <p class=\"schema-how-to-step-text\">Look in the box at the top and enable the associated service.<img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"945\" src=\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/choose-api.png\" class=\"attachment-full size-full\" alt=\"\" style=\"max-width: 100%; height: auto;\" srcset=\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/choose-api.png 1920w, https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/choose-api-300x148.png 300w, https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/choose-api-1024x504.png 1024w, https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/choose-api-768x378.png 768w, https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/choose-api-1536x756.png 1536w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/p> <\/li><\/ol><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"pubblicazione\">Publication<\/h2>\n\n\n<p>By default, the project will be in \"Testing\" publication status.<\/p>\n\n\n\n<p>This means you'll see a warning when you want to authorize the plugin to have access to your Google account (but since you only have to do this once, it's not a problem).<\/p>\n\n\n\n<p>But it also means that these permissions will expire every 1 or 2 weeks. To make sure this does not happen, it is important to set the publishing status to \"Production.\" This will require verification by Google.<\/p>","protected":false},"excerpt":{"rendered":"<p>To access your Google Analytics data or Google sheets, you must be authenticated and authorized. To do this you will need to create a project in the Google developer console and obtain your Client ID and Client Secret. Follow this step-by-step guide to avoid mistakes. If you already have [...]<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":3,"comment_status":"open","ping_status":"closed","template":"","meta":{"feedback":1,"footnotes":""},"doc-category":[33],"doc-group":[31],"class_list":["post-920","doc","type-doc","status-publish","hentry","doc-category-per-iniziare","doc-group-popper"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Creare Client ID e Client Secret - Francesco Pepe<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.francescopepe.com\/en\/docs\/create-google-client-id-client-secret\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Creare Client ID e Client Secret - Francesco Pepe\" \/>\n<meta property=\"og:description\" content=\"Per accedere ai tuoi dati di Google Analytics o ai tuoi fogli Google, devi essere autenticato e autorizzato. Per far ci\u00f2 avrai bisogno di creare un progetto nella console developer di Google ed ottenere il tuo Client ID e il Client Secret. Segui questa guida passo passo per non incorrere in errori. Se hai gi\u00e0 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.francescopepe.com\/en\/docs\/create-google-client-id-client-secret\/\" \/>\n<meta property=\"og:site_name\" content=\"Francesco Pepe\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-16T14:28:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-project.webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/\",\"url\":\"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/\",\"name\":\"Creare Client ID e Client Secret - Francesco Pepe\",\"isPartOf\":{\"@id\":\"https:\/\/www.francescopepe.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-project.webp\",\"datePublished\":\"2024-05-27T10:34:38+00:00\",\"dateModified\":\"2025-07-16T14:28:58+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#primaryimage\",\"url\":\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-project.webp\",\"contentUrl\":\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-project.webp\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.francescopepe.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Knowledgebase\",\"item\":\"https:\/\/www.francescopepe.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Creare Client ID e Client Secret\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.francescopepe.com\/#website\",\"url\":\"https:\/\/www.francescopepe.com\/\",\"name\":\"Francesco Pepe\",\"description\":\"Coding e digital marketing\",\"publisher\":{\"@id\":\"https:\/\/www.francescopepe.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.francescopepe.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.francescopepe.com\/#organization\",\"name\":\"Francesco Pepe\",\"url\":\"https:\/\/www.francescopepe.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.francescopepe.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/fp-logo.png\",\"contentUrl\":\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/fp-logo.png\",\"width\":1250,\"height\":1250,\"caption\":\"Francesco Pepe\"},\"image\":{\"@id\":\"https:\/\/www.francescopepe.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"HowTo\",\"@id\":\"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#howto-1\",\"name\":\"Creare Client ID e Client Secret\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/\"},\"description\":\"\",\"step\":[{\"@type\":\"HowToStep\",\"url\":\"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#how-to-step-1713505210037\",\"name\":\"Vai sulla console per developer di Google\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Puoi creare gratis un progetto Google andando sulla <a href=\\\"https:\/\/console.developers.google.com\/apis\\\">developer console<\/a>. \"}]},{\"@type\":\"HowToStep\",\"url\":\"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#how-to-step-1713505242823\",\"name\":\"Clicca\u00a0Seleziona un progetto \u279d Nuovo Progetto \u279d\u00a0bottone\u00a0Crea.\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Usa un progetto gi\u00e0 esistente oppure creane uno nuovo.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#schema-image-18c597dcf1203bfe89e6eb5e8e89759a\",\"url\":\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-project.webp\",\"contentUrl\":\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-project.webp\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#how-to-step-1713977270309\",\"name\":\"Inserisci il nome del progetto \u279d\u00a0clicca il bottone\u00a0Crea\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Inserisci un nome che ti aiuti a identificare facilmente il tuo progetto. Puoi usare anche il nome del tuo sito.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#schema-image-f6a127770e6d028d979ac2111e286027\",\"url\":\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-new-project.webp\",\"contentUrl\":\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-new-project.webp\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#how-to-step-1713977389671\",\"text\":\"Fare clic sulla schermata di consenso OAuth nel menu a sinistra \u279d scegliere Tipo di utente \u279d fare clic sul pulsante Crea\"},{\"@type\":\"HowToStep\",\"url\":\"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#how-to-step-1713978211967\",\"name\":\"Aggiungere il nome dell'applicazione \u279d l'e-mail di supporto \u279d il dominio autorizzato \u279d le informazioni sul contenuto dello sviluppatore \u279d fare clic sul pulsante Salva e continua\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Questo passaggio ti permette di impostare alcuni dati di base della tua app che verranno mostrate nella schermata di consenso. Il passaggio pi\u00f9 importante \u00e8 quello sull'URL autorizzato. Inserisci il tuo sito correttamente.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#schema-image-f338a498e7c9f4a18eaadaf2cb085c6f\",\"url\":\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-oauth-consent-screen.webp\",\"contentUrl\":\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-oauth-consent-screen.webp\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#how-to-step-1713978093735\",\"text\":\"Completare tutti e 4 i passaggi della schermata di consenso OAuth \u279d fare clic sul pulsante Torna alla dashboard\"},{\"@type\":\"HowToStep\",\"url\":\"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#how-to-step-1713978174292\",\"text\":\"Andare su Credenziali \u279d fare clic su Crea credenziali \u279d selezionare ID client OAuth dall'elenco a discesa\"},{\"@type\":\"HowToStep\",\"url\":\"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#how-to-step-1713978414493\",\"text\":\"Aprire l'elenco a discesa Tipo di applicazione \u279d selezionare Applicazione web \u279d inserire il nome del proprio client OAuth 2.0\"},{\"@type\":\"HowToStep\",\"url\":\"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#how-to-step-1713978533113\",\"name\":\"Inserire l'URL del sito in Origini JavaScript autorizzate \u279d in URI di reindirizzamento autorizzati, inserire l'URL della pagina in cui si desidera reindirizzare gli utenti dopo l'autenticazione con Google \u279d fare clic sul pulsante Crea\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Fai attenzione ad inserire correttamente l'url di reindirizzamento in ambedue i campi\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#schema-image-f78d2101ce6eb517b68c79801bc4591d\",\"url\":\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-create-button.webp\",\"contentUrl\":\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-create-button.webp\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#how-to-step-1713978687412\",\"name\":\"Copiare il Client ID e il Client Secret\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Copia i dati che ti appaiono sulla schermata ed inseriscili nelle impostazioni del plugin.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#schema-image-fed57670fb04cd83bf8640b9124370cc\",\"url\":\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/copy-google-client-id-and-client-secret.webp\",\"contentUrl\":\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/copy-google-client-id-and-client-secret.webp\"}},{\"@type\":\"HowToStep\",\"url\":\"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#how-to-step-1713979157500\",\"name\":\"Vai su Api e servizi abilitati e Abilita i seguenti servizi Google Analytics Admin API Google Analytics Data API Google Drive API Google Sheets API\",\"itemListElement\":[{\"@type\":\"HowToDirection\",\"text\":\"Cerca nella casella in alto e abilita il servizio associato.\"}],\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#schema-image-7615003ee700d3b2ce2da8e3bb64d4f3\",\"url\":\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/choose-api.png\",\"contentUrl\":\"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/choose-api.png\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Creating Client IDs and Client Secrets - Francesco Pepe","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.francescopepe.com\/en\/docs\/create-google-client-id-client-secret\/","og_locale":"en_US","og_type":"article","og_title":"Creare Client ID e Client Secret - Francesco Pepe","og_description":"Per accedere ai tuoi dati di Google Analytics o ai tuoi fogli Google, devi essere autenticato e autorizzato. Per far ci\u00f2 avrai bisogno di creare un progetto nella console developer di Google ed ottenere il tuo Client ID e il Client Secret. Segui questa guida passo passo per non incorrere in errori. Se hai gi\u00e0 [&hellip;]","og_url":"https:\/\/www.francescopepe.com\/en\/docs\/create-google-client-id-client-secret\/","og_site_name":"Francesco Pepe","article_modified_time":"2025-07-16T14:28:58+00:00","og_image":[{"url":"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-project.webp","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/","url":"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/","name":"Creating Client IDs and Client Secrets - Francesco Pepe","isPartOf":{"@id":"https:\/\/www.francescopepe.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#primaryimage"},"image":{"@id":"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#primaryimage"},"thumbnailUrl":"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-project.webp","datePublished":"2024-05-27T10:34:38+00:00","dateModified":"2025-07-16T14:28:58+00:00","breadcrumb":{"@id":"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#primaryimage","url":"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-project.webp","contentUrl":"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-project.webp"},{"@type":"BreadcrumbList","@id":"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.francescopepe.com\/"},{"@type":"ListItem","position":2,"name":"Knowledgebase","item":"https:\/\/www.francescopepe.com\/docs\/"},{"@type":"ListItem","position":3,"name":"Creare Client ID e Client Secret"}]},{"@type":"WebSite","@id":"https:\/\/www.francescopepe.com\/#website","url":"https:\/\/www.francescopepe.com\/","name":"Francis Pepe","description":"Coding and digital marketing","publisher":{"@id":"https:\/\/www.francescopepe.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.francescopepe.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.francescopepe.com\/#organization","name":"Francis Pepe","url":"https:\/\/www.francescopepe.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.francescopepe.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/fp-logo.png","contentUrl":"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/fp-logo.png","width":1250,"height":1250,"caption":"Francesco Pepe"},"image":{"@id":"https:\/\/www.francescopepe.com\/#\/schema\/logo\/image\/"}},{"@type":"HowTo","@id":"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#howto-1","name":"Create Client ID and Client Secret","mainEntityOfPage":{"@id":"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/"},"description":"","step":[{"@type":"HowToStep","url":"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#how-to-step-1713505210037","name":"Vai sulla console per developer di Google","itemListElement":[{"@type":"HowToDirection","text":"Puoi creare gratis un progetto Google andando sulla <a href=\"https:\/\/console.developers.google.com\/apis\">developer console<\/a>. "}]},{"@type":"HowToStep","url":"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#how-to-step-1713505242823","name":"Clicca\u00a0Seleziona un progetto \u279d Nuovo Progetto \u279d\u00a0bottone\u00a0Crea.","itemListElement":[{"@type":"HowToDirection","text":"Usa un progetto gi\u00e0 esistente oppure creane uno nuovo."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#schema-image-18c597dcf1203bfe89e6eb5e8e89759a","url":"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-project.webp","contentUrl":"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-project.webp"}},{"@type":"HowToStep","url":"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#how-to-step-1713977270309","name":"Inserisci il nome del progetto \u279d\u00a0clicca il bottone\u00a0Crea","itemListElement":[{"@type":"HowToDirection","text":"Inserisci un nome che ti aiuti a identificare facilmente il tuo progetto. Puoi usare anche il nome del tuo sito."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#schema-image-f6a127770e6d028d979ac2111e286027","url":"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-new-project.webp","contentUrl":"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-new-project.webp"}},{"@type":"HowToStep","url":"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#how-to-step-1713977389671","text":"Fare clic sulla schermata di consenso OAuth nel menu a sinistra \u279d scegliere Tipo di utente \u279d fare clic sul pulsante Crea"},{"@type":"HowToStep","url":"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#how-to-step-1713978211967","name":"Aggiungere il nome dell'applicazione \u279d l'e-mail di supporto \u279d il dominio autorizzato \u279d le informazioni sul contenuto dello sviluppatore \u279d fare clic sul pulsante Salva e continua","itemListElement":[{"@type":"HowToDirection","text":"Questo passaggio ti permette di impostare alcuni dati di base della tua app che verranno mostrate nella schermata di consenso. Il passaggio pi\u00f9 importante \u00e8 quello sull'URL autorizzato. Inserisci il tuo sito correttamente."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#schema-image-f338a498e7c9f4a18eaadaf2cb085c6f","url":"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-oauth-consent-screen.webp","contentUrl":"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-oauth-consent-screen.webp"}},{"@type":"HowToStep","url":"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#how-to-step-1713978093735","text":"Completare tutti e 4 i passaggi della schermata di consenso OAuth \u279d fare clic sul pulsante Torna alla dashboard"},{"@type":"HowToStep","url":"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#how-to-step-1713978174292","text":"Andare su Credenziali \u279d fare clic su Crea credenziali \u279d selezionare ID client OAuth dall'elenco a discesa"},{"@type":"HowToStep","url":"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#how-to-step-1713978414493","text":"Aprire l'elenco a discesa Tipo di applicazione \u279d selezionare Applicazione web \u279d inserire il nome del proprio client OAuth 2.0"},{"@type":"HowToStep","url":"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#how-to-step-1713978533113","name":"Inserire l'URL del sito in Origini JavaScript autorizzate \u279d in URI di reindirizzamento autorizzati, inserire l'URL della pagina in cui si desidera reindirizzare gli utenti dopo l'autenticazione con Google \u279d fare clic sul pulsante Crea","itemListElement":[{"@type":"HowToDirection","text":"Fai attenzione ad inserire correttamente l'url di reindirizzamento in ambedue i campi"}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#schema-image-f78d2101ce6eb517b68c79801bc4591d","url":"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-create-button.webp","contentUrl":"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/google-client-id-create-button.webp"}},{"@type":"HowToStep","url":"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#how-to-step-1713978687412","name":"Copiare il Client ID e il Client Secret","itemListElement":[{"@type":"HowToDirection","text":"Copia i dati che ti appaiono sulla schermata ed inseriscili nelle impostazioni del plugin."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#schema-image-fed57670fb04cd83bf8640b9124370cc","url":"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/copy-google-client-id-and-client-secret.webp","contentUrl":"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/copy-google-client-id-and-client-secret.webp"}},{"@type":"HowToStep","url":"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#how-to-step-1713979157500","name":"Vai su Api e servizi abilitati e Abilita i seguenti servizi Google Analytics Admin API Google Analytics Data API Google Drive API Google Sheets API","itemListElement":[{"@type":"HowToDirection","text":"Cerca nella casella in alto e abilita il servizio associato."}],"image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.francescopepe.com\/docs\/creare-google-client-id-client-secret\/#schema-image-7615003ee700d3b2ce2da8e3bb64d4f3","url":"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/choose-api.png","contentUrl":"https:\/\/www.francescopepe.com\/wp-content\/uploads\/2024\/04\/choose-api.png"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.francescopepe.com\/en\/wp-json\/wp\/v2\/doc\/920","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.francescopepe.com\/en\/wp-json\/wp\/v2\/doc"}],"about":[{"href":"https:\/\/www.francescopepe.com\/en\/wp-json\/wp\/v2\/types\/doc"}],"author":[{"embeddable":true,"href":"https:\/\/www.francescopepe.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.francescopepe.com\/en\/wp-json\/wp\/v2\/comments?post=920"}],"version-history":[{"count":7,"href":"https:\/\/www.francescopepe.com\/en\/wp-json\/wp\/v2\/doc\/920\/revisions"}],"predecessor-version":[{"id":1402,"href":"https:\/\/www.francescopepe.com\/en\/wp-json\/wp\/v2\/doc\/920\/revisions\/1402"}],"wp:attachment":[{"href":"https:\/\/www.francescopepe.com\/en\/wp-json\/wp\/v2\/media?parent=920"}],"wp:term":[{"taxonomy":"doc-category","embeddable":true,"href":"https:\/\/www.francescopepe.com\/en\/wp-json\/wp\/v2\/doc-category?post=920"},{"taxonomy":"doc-group","embeddable":true,"href":"https:\/\/www.francescopepe.com\/en\/wp-json\/wp\/v2\/doc-group?post=920"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}