Skip to content

Instantly share code, notes, and snippets.

@charleshimmer
Created December 18, 2012 16:47
Show Gist options
  • Save charleshimmer/4329621 to your computer and use it in GitHub Desktop.
Save charleshimmer/4329621 to your computer and use it in GitHub Desktop.
GE Appliances demo integration code
<!DOCTYPE html>
<html>
<head>
<!-- using // means the bvapi.js file will load over whatever protocal the pages uses (either http or https) -->
<script src="//geappliances.ugc.bazaarvoice.com/bvstaging/static/1218-en_us/bvapi.js"></script>
<!-- JavaScript call to bazaarvoice to load reviews for the product test1 -->
<script>
$BV.ui('rr', 'show_reviews', {
productId: 'test1'
});
</script>
</head>
<body>
<h1>GE Appliances Bazaarvoice Demo Page</h1>
<div id="BVRRSummaryContainer">
<!-- Contents of this div will be filled by Bazaarvoice's JavaScript. This will display the review summary conatiner -->
</div>
<div id="BVRRContainer">
<!--
Bazaavoice will load Ratings and Reviews content here.
-->
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment