การลิงก์ไปยัง Google Play

Google Play มีลิงก์หลายรูปแบบให้คุณนำผู้ใช้มาสู่ผลิตภัณฑ์ของคุณด้วยวิธีที่ต้องการ ไม่ว่าจะเป็นลิงก์จากแอป Android หน้าเว็บ โฆษณา รีวิว บทความ โพสต์ในโซเชียลมีเดีย และอื่นๆ

ลิงก์รูปแบบต่างๆ ช่วยให้คุณลิงก์ไปยังข้อมูลต่อไปนี้

การลิงก์ไปยังข้อมูลสินค้าใน Store

ใช้รูปแบบด้านล่างเพื่อ Deep Link ไปยังหน้าข้อมูลสินค้าใน Store ของแอปโดยตรง ซึ่งผู้ใช้จะเห็นคำอธิบายแอป ภาพหน้าจอ รีวิว และอื่นๆ แล้วติดตั้งแอปได้

หากต้องการสร้างลิงก์ คุณต้องทราบ ชื่อแพ็กเกจแบบเต็มของแอป ซึ่งประกาศไว้ในไฟล์ Manifest ของแอป นอกจากนี้ คุณยังดูชื่อแพ็กเกจได้ใน Google Play Console

https://play.google.com/store/apps/details?id=<package_name>

ตัวอย่าง

http://play.google.com/store/apps/details?id=com.google.android.apps.maps

ดูรายละเอียดเกี่ยวกับวิธีส่งลิงก์ในแอป Android ได้ที่ การลิงก์จากแอป Android

การลิงก์ไปยังหน้านักพัฒนาซอฟต์แวร์

ใช้รูปแบบด้านล่างเพื่อลิงก์ผู้ใช้ไปยัง หน้านักพัฒนาซอฟต์แวร์ ในหน้านี้ คุณสามารถให้รายละเอียดเพิ่มเติมเกี่ยวกับแบรนด์ แสดงแอปแนะนำ และระบุรายการแอปอื่นๆ ที่คุณเผยแพร่

หากต้องการสร้างลิงก์ คุณจำเป็นต้องทราบ ชื่อผู้เผยแพร่ ซึ่งดูได้จาก Play Console

https://play.google.com/store/apps/dev?id=<developer_id>

ตัวอย่าง

https://play.google.com/store/apps/dev?id=5700313618786177705

ดูรายละเอียดเกี่ยวกับวิธีส่งลิงก์ในแอป Android ได้ที่ การลิงก์จากแอป Android

การลิงก์ไปยังผลการค้นหา

ใช้รูปแบบด้านล่างเพื่อลิงก์ผู้ใช้กับผลลัพธ์ของคำค้นหาใน Google Play หน้าผลการค้นหาจะแสดงรายการแอป (และเนื้อหาอื่นๆ ที่เลือกได้) ที่ตรงกับคำค้นหา พร้อมคะแนน ป้าย และปุ่มติดตั้งสำหรับแต่ละรายการ

คุณต้องใช้เพียงสตริงคำค้นหาเพื่อสร้างลิงก์ หากต้องการให้คำค้นหา ค้นหาข้อมูลนอกเหนือจากข้อมูลแอปใน Google Play ให้นำส่วน &c=apps ของ URL ลิงก์ออก

https://play.google.com/store/search?q=<search_query>&c=apps

ตัวอย่าง

https://play.google.com/store/search?q=maps&c=apps

ดูรายละเอียดเกี่ยวกับวิธีส่งลิงก์ในแอป Android ได้ที่ การลิงก์จากแอป Android

การลิงก์ไปยังคอลเล็กชัน

หากแอปของคุณเป็นแอปแนะนำหรือปรากฏในอันดับสูงสุดหรือคอลเล็กชันอย่างใดอย่างหนึ่งของ Google Play คุณสามารถใช้รูปแบบด้านล่างเพื่อลิงก์ผู้ใช้ไปยังคอลเล็กชันโดยตรง คอลเล็กชันแสดงรายการแอปที่มีการจัดอันดับในคอลเล็กชัน พร้อมคะแนน คำอธิบายแบบย่อ และปุ่มติดตั้ง

https://play.google.com/store/apps/collection/<collection_name>

ตัวอย่าง

https://play.google.com/store/apps/collection/topselling_free

ดูรายละเอียดเกี่ยวกับวิธีส่งลิงก์ในแอป Android ได้ที่ การลิงก์จากแอป Android

ตารางที่ 1 คอลเล็กชันใน Google Play

คอลเล็กชัน collection_name
ถูกใจทีมงาน (แนะนำ) เด่น
ไม่ฟรี ยอดนิยม topselling_paid
ฟรียอดนิยม topselling_free
ใหม่ฟรียอดนิยม topselling_new_free
ใหม่ไม่ฟรียอดนิยม topselling_new_paid
ทำรายได้สูงสุด topgrossing
มาแรง movers_shakers

การลิงก์ไปยังหน้าแอปโดนใจบก.

หากแอปของคุณเป็นแอปแนะนำหรือปรากฏในบทความในแอปโดนใจบก. คุณสามารถใช้รูปแบบด้านล่างเพื่อลิงก์ผู้ใช้ไปยังหน้าแอปโดนใจบก.โดยตรง

URL ของหน้าแอปโดนใจบก.หลักคือ

https://play.google.com/store/apps/topic?id=editors_choice

และคุณสามารถดู URL ของแต่ละหน้าได้จากหน้าแอปโดนใจบก.

ตัวอย่างเช่น

การลิงก์จากแอป Android

หากต้องการลิงก์ไปยังผลิตภัณฑ์จากแอป Android ให้สร้าง Intent ที่เปิด URL เมื่อกำหนดค่า Intent นี้ ให้ส่ง "com.android.vending" ไปยัง Intent.setPackage() เพื่อให้ผู้ใช้เห็นรายละเอียดแอปของคุณในแอป Google Play Store แทนที่จะเห็น ตัวเลือก

ตัวอย่างต่อไปนี้จะนำผู้ใช้ไปดูแอปที่มีชื่อแพ็กเกจ com.example.android ใน Google Play

Kotlin

val intent = Intent(Intent.ACTION_VIEW).apply {
    data = Uri.parse(
            "https://play.google.com/store/apps/details?id=com.example.android")
    setPackage("com.android.vending")
}
startActivity(intent)

Java

Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse(
        "https://play.google.com/store/apps/details?id=com.example.android"));
intent.setPackage("com.android.vending");
startActivity(intent);

การเปิดประสบการณ์ใช้งาน Google Play Instant

หากคุณเผยแพร่ Instant App โดยใช้ Google Play Instant คุณสามารถ เปิดแอปได้ดังนี้

Kotlin

val uriBuilder = Uri.parse("https://play.google.com/store/apps/details")
        .buildUpon()
        .appendQueryParameter("id", "com.example.android")
        .appendQueryParameter("launch", "true")

// Optional parameters, such as referrer, are passed onto the launched
// instant app. You can retrieve these parameters using Activity.intent.data.
uriBuilder.appendQueryParameter("referrer", "exampleCampaignId")

val intent = Intent(Intent.ACTION_VIEW).apply {
    data = uriBuilder.build()
    setPackage("com.android.vending")
}
startActivity(intent)

Java

Intent intent = new Intent(Intent.ACTION_VIEW);
Uri.Builder uriBuilder = Uri.parse("market://launch")
    .buildUpon()
    .appendQueryParameter("id", "com.example.android");

// Optional parameters, such as referrer, are passed onto the launched
// instant app. You can retrieve these parameters using
// Activity.getIntent().getData().
uriBuilder.appendQueryParameter("referrer", "exampleCampaignId");

intent.setData(uriBuilder.build());
intent.setPackage("com.android.vending");
startActivity(intent);

สรุปรูปแบบ URL

ตารางด้านล่างแสดงสรุป URI ที่ Google Play (ทั้งบนเว็บและในแอปพลิเคชัน Android) รองรับในปัจจุบันตามที่กล่าวถึงในส่วนก่อนหน้า

หากต้องการผลลัพธ์นี้ ให้ใช้ลิงก์นี้
แสดงข้อมูลสินค้าใน Store ของแอปนั้นๆ https://play.google.com/store/apps/details?id=<package_name>
แสดงหน้านักพัฒนาซอฟต์แวร์ของผู้เผยแพร่นั้นๆ https://play.google.com/store/apps/dev?id=<developer_id>
แสดงผลลัพธ์ของคำค้นหา https://play.google.com/store/search?q=<query>
แสดงคอลเล็กชันแอป https://play.google.com/store/apps/collection/<collection_name>
เปิดประสบการณ์ใช้งาน Google Play Instant market://launch?id=<package_name>