Badge Integration Options
Showcase your GoodCart badges on your website or marketing materials with these integration options.
Configure Your Badge
This should be the unique code provided when your badge was issued.
Badge Preview
This product meets our highest quality standards with a perfect 100% score across all evaluation criteria.
This is how your badge will appear when integrated.
Integration Options
HTML Embed Code
Copy and paste this HTML code to embed the badge on your website.
<a href="https://goodcart.org/badge-validation?code=DEMO123456" title="GoodCart Perfect 100% Badge" target="_blank" rel="noopener"> <img src="https://goodcart.org/badges/perfect/DEMO123456.svg" alt="GoodCart Perfect 100% Badge" width="150" height="50" /> </a>
JavaScript Snippet
Use this JavaScript snippet for dynamic badge validation that updates automatically.
<script>
(function() {
var gc = document.createElement('script');
gc.type = 'text/javascript';
gc.async = true;
gc.src = 'https://goodcart.org/js/badge-validator.js';
gc.setAttribute('data-badge-code', 'DEMO123456');
gc.setAttribute('data-badge-type', 'perfect');
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(gc, s);
})();
</script>
<div id="goodcart-badge-DEMO123456"></div>Hosted Image URL
Direct link to the badge image for use in marketing materials or custom implementations.
Verification Information
All badge integrations include verification links that allow customers to verify the authenticity of your badge. The JavaScript snippet also provides real-time validation to ensure the badge is current and hasn't been revoked.