Google Play มีลิงก์หลายรูปแบบให้คุณนำผู้ใช้มาสู่ผลิตภัณฑ์ของคุณด้วยวิธีที่ต้องการ ไม่ว่าจะเป็นลิงก์จากแอป Android หน้าเว็บ โฆษณา รีวิว บทความ โพสต์ในโซเชียลมีเดีย และอื่นๆ
ลิงก์รูปแบบต่างๆ ช่วยให้คุณลิงก์ไปยังข้อมูลต่อไปนี้
- ข้อมูลผลิตภัณฑ์ในสโตร์ของแอป
- หน้านักพัฒนาซอฟต์แวร์
- ผลการค้นหาที่คุณต้องการ
- คอลเล็กชัน
- ประสบการณ์การใช้งาน Google Play Instant
การลิงก์ไปยังข้อมูลผลิตภัณฑ์ในสโตร์
ใช้รูปแบบด้านล่างเพื่อ 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 ของแต่ละหน้าได้จากหน้า "ตัวเลือกของบรรณาธิการ"
ตัวอย่างเช่น
-
สร้างแรงบันดาลใจด้วยแอปฟิตเนส 5 แอปนี้
https://play.google.com/store/apps/topic?id=editorial_fitness_apps_us -
วางแผนเส้นทาง: นำทางได้ทุกที่ด้วยแอป 5 แอปนี้
https://play.google.com/store/apps/topic?id=editorial_navigation_apps_us -
เกมกีฬาที่ชนะใจให้คุณสนุกได้ทุกฤดูกาล
https://play.google.com/store/apps/topic?id=editorial_sports_games_us
การลิงก์จากแอป 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) ตามที่ได้กล่าวถึงใน ส่วนก่อนหน้า
| สำหรับผลการค้นหานี้ | ใช้ลิงก์นี้ |
|---|---|
| แสดงข้อมูลผลิตภัณฑ์ในสโตร์ของแอปนั้นๆ | 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> |