Nhà phát triển tạo một URL Google Play, trong đó có thông tin phân bổ tiếp thị và đường liên kết đến trang thông tin của trò chơi trên Cửa hàng Google Play, đồng thời sử dụng URL đó trong quảng cáo trên web hoặc trong một trò chơi GPG hiện có trên máy tính. Mã sẽ có dạng như sau:
Trong ví dụ này, utm_source%3Dsearch%26utm_medium%3Dcpc%26utm_campaign%3Dsummerpromo tương ứng với chuỗi do nhà phát triển tạo để phân bổ tiếp thị và sau khi cài đặt trò chơi, chuỗi này được truyền qua trường referrer đến ứng dụng trò chơi.
Khi người dùng máy tính nhấp vào quảng cáo có đường liên kết này, họ sẽ được chuyển hướng đến
trang thông tin của trò chơi trên Google Play trên web
Giao diện người dùng, cho phép người dùng lựa chọn
Cài đặt trên Windows.
Thao tác nhấp vào Install on Windows (Cài đặt trên Windows) sẽ nhắc người dùng mở hoặc tải xuống
ứng dụng Google Play Games trên máy tính.
Nếu người dùng đã cài đặt ứng dụng, thì việc nhấp vào Mở sẽ khởi chạy
trang chi tiết của trò chơi trong Google Play Games trên máy tính và tự động bắt đầu
quá trình cài đặt.
Nếu người dùng chưa cài đặt Google Play Games trên máy tính, hãy nhấp vào
Nút Tải xuống đã bắt đầu quá trình tải xuống trình cài đặt nền tảng và khi
cài đặt và thiết lập thành công Google Play Games trên máy tính, trò chơi
sẽ tự động bắt đầu cài đặt.
Quá trình này là tương tự nhau bất kể người dùng có nhấp vào quảng cáo trên web
của Google Play hoặc nếu trò chơi đó nằm trong một trò chơi GPG khác trên máy tính. Đối với phần hai, phương thức
Ứng dụng Google Play Games trên máy tính chạy một trình duyệt có trang thông tin của trò chơi
trên giao diện người dùng web của Cửa hàng Google Play để bắt đầu quy trình tải xuống.
Sau khi cài đặt và khởi chạy thành công, nhà phát triển có thể truy xuất thông tin chi tiết về người giới thiệu trong trò chơi bằng cách sử dụng thư viện Google Play Install Referrer.
Nội dung và mã mẫu trên trang này phải tuân thủ các giấy phép như mô tả trong phần Giấy phép nội dung. Java và OpenJDK là nhãn hiệu hoặc nhãn hiệu đã đăng ký của Oracle và/hoặc đơn vị liên kết của Oracle.
Cập nhật lần gần đây nhất: 2025-07-27 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 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."]]