Lo sviluppatore genera un URL di Google Play, che include contenuti
informazioni sull'attribuzione e link alla scheda del Google Play Store del gioco
e lo utilizza in una pubblicità sul web o in un GPG su PC
per giocare. Potrebbe avere un aspetto simile al seguente:
In questo esempio, utm_source%3Dsearch%26utm_medium%3Dcpc%26utm_campaign%3Dsummerpromo corrisponde alla stringa creata dallo sviluppatore per l'attribuzione di marketing e, al momento dell'installazione del gioco, viene trasmessa al client di gioco tramite il campo referrer.
Quando un utente di PC fa clic su un annuncio con questo link, viene reindirizzato alla
pagina della scheda del gioco sul sito web di Google Play
UI, che offre all'utente la possibilità di
Installazione su Windows.
Facendo clic su Installa su Windows, all'utente verrà chiesto di aprire o scaricare l'app
il client Google Play Giochi su PC.
Se l'utente ha già installato il client, facendo clic su Apri viene avviata la pagina dei dettagli del gioco su Google Play Giochi su PC e viene avviata automaticamente la procedura di installazione.
Se l'utente non ha installato Google Play Giochi su PC, facendo clic su
Scarica viene avviato il download del programma di installazione della piattaforma e, al termine dell'installazione e della configurazione di Google Play Giochi su PC, il
gioco inizia a installarsi automaticamente.
Si tratta dello stesso flusso, indipendentemente dal fatto che l'utente faccia clic sull'annuncio dal browser web o se si trova in un altro GPG su un gioco per PC. Per quest'ultimo, il client Google Play Giochi su PC avvia un browser con la pagina della scheda del gioco nell'interfaccia utente web del Google Play Store per avviare il flusso di download.
Dopo l'installazione e l'avvio, lo sviluppatore può recuperare i dettagli del referrer all'interno del gioco utilizzando la libreria Google Play Install Referrer.
I campioni di contenuti e codice in questa pagina sono soggetti alle licenze descritte nella Licenza per i contenuti. Java e OpenJDK sono marchi o marchi registrati di Oracle e/o delle sue società consociate.
Ultimo aggiornamento 2025-07-27 UTC.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-07-27 UTC."],[],[],null,["# User Acquisition for Google Play Games on PC\n\nWith Google Play Games on PC, developers can run User Acquisition (UA) campaigns\nsimilar to how they do so with mobile Android phones today using the [Google\nPlay Install Referrer library](/google/play/installreferrer) and linking to the\n[Google Play Store\nlisting](/distribute/marketing-tools/linking-to-google-play#OpeningDetails).\n\nAs a sample scenario:\n\n1. The developer generates a Google Play URL, which includes marketing\n attribution information and links to the game's Google Play Store listing\n page, and uses it in an advertisement on the web or in an existing GPG on PC\n game. It could look something like this:\n\n https://play.google.com/store/apps/details?id=com.sample.package&referrer=utm_source%3Dsearch%26utm_medium%3Dcpc%26utm_campaign%3Dsummerpromo\n\n In this example\n `utm_source%3Dsearch%26utm_medium%3Dcpc%26utm_campaign%3Dsummerpromo`\n corresponds to the string created by the developer for marketing\n attribution, and upon game installation is passed through the *referrer*\n field to the game client.\n | **Note:** The referrer string must be URL encoded, 512 characters or less, and included in the referrer query parameter of the Google Play URL.\n2. When a PC user clicks on an ad with this link, they are redirected to the\n game's listing page on the [Google Play web\n UI](https://play.google.com/store/games), which gives the user the option to\n *Install on Windows*.\n\n Clicking *Install on Windows* prompts the user to either open or download\n the Google Play Games on PC client.\n\n If the user already has the client installed, then clicking *Open* launches\n the game's detail page on Google Play Games on PC and automatically start\n the installation process.\n | **Note:** Depending on the browser, the user may need to accept a permission to allow the browser to open links within the Google Play Games on PC client\n\n If the user does not have Google Play Games on PC installed then clicking\n *Download* initiated the download of the platform installer, and upon a\n successful installation and setup of Google Play Games on PC, the game\n automatically starts installing.\n\n This is the same flow regardless if the user clicks the ad from the web\n browser, or if it's within another GPG on PC game. For the latter, the\n Google Play Games on PC client launches a browser with the game's listing\n page on the Google Play Store web UI to initiate the download flow.\n3. Upon successful install and launch, the developer can retrieve referrer\n details within the game using the Google Play Install Referrer library.\n\n| **Note:** After a user initiates an install through the Google Play web UI, the GPG on PC client will retain the referrer until the game is successfully installed (up to 28 days after the install was originally initiated). After a successful game install, the referrer details will be maintained on the client for 90 days, as is [standard for the Play Referrer\n| API](/google/play/installreferrer/igetinstallreferrerservice). As such, the referrer may be retained for at most 118 days."]]