Software app (SoftwareApplication)
What is software app?
Markup software application information on your web page to enhance the display of your app details in Google Search results.
Kindly Refer Google Doc to know more about software app rich result.
What are necessary data for software app rich result?
1. Software / Game Name (rjs-sapp-[number]-name
)
software-app.html
<div>
<p class="rjs-sapp-1-name">God of War</p>
<div></div>
</div>
2. Operating System (rjs-sapp-[number]-os
)
đź’ˇ
If you have a list of OS, separators should be a comma (,)
software-app.html
<div>
<p>
Supported on:
<span class="rjs-sapp-1-os">Windows, PS4</span>
</p>
<div></div>
</div>
3. Category (rjs-sapp-[number]-cat
)
software-app.html
<div>
<p>
Category:
<span class="rjs-sapp-1-cat">Game</span>
</p>
<div></div>
</div>
4. Aggregated Rating (rjs-sapp-[number]-aggrate
)
software-app.html
<div>
<div class="rjs-sapp-1-aggrate">
<!-- rating value -->
<p><span class="arv">99</span> / <span class="mr">100</span></p>
<!-- rating counts -->
<p>
Number of rating:
<span class="rc">90864000</span>
</p>
</div>
<div></div>
</div>
5. Price & Currency (rjs-sapp-[number]-cost
)
đź’ˇ
Currency should be the
alpha-3
code.software-app.html
<div>
<p class="rjs-sapp-1-cost" data-currency="inr">2000</p>
<div></div>
</div>
Function and parameters
đź’ˇ
By default input file is overwriiten with result so
destination
is optionalThis is only for API method.
We prefer CLI method for keeping it simpler (refer - Working with API & CLI).
func_params.js
const richResultType = 'software';
const filePath = 'software-app.html';
const destination = 'dist/software-app.html'; /* optional */
richie([richResultType], filePath, destination);
Example of a Instance
software-app.html
<body>
<div>
<p class="rjs-sapp-1-name">God of War</p>
<p>
Category:
<span class="rjs-sapp-1-cat">Game</span>
</p>
<p>
Supported on:
<span class="rjs-sapp-1-os">Windows, PS4</span>
</p>
<!-- aggregate rating -->
<div class="rjs-sapp-1-aggrate">
<!-- rating value -->
<p><span class="arv">99</span> / <span class="mr">100</span></p>
<!-- rating counts -->
<p>
Number of rating:
<span class="rc">90864000</span>
</p>
</div>
<p class="rjs-sapp-1-cost" data-currency="inr">2000</p>
</div>
</body>
Output of a Instance
software-app.html
<script type="application/ld+json">
[
{
"@context": "https://schema.org",
"@type": "SoftwareApplication",
"name": "God of War",
"operatingSystem": ["WINDOWS", " PS4"],
"applicationCategory": "GameApplication",
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": 99,
"bestRating": 100,
"ratingCount": 90864000
},
"offers": { "price": 2000, "priceCurrency": "INR" }
}
]
</script>
Let’s see what’s next!