Created
July 28, 2017 23:32
-
-
Save svaustin66/a4fa7dbf1e23a568ed445f40a3045ffb to your computer and use it in GitHub Desktop.
Shopper Approved Store Review Widget
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href="http://www.shopperapproved.com/reviews/yourstoreURL.com/" class="shopperlink"> | |
<img src="//www.shopperapproved.com/seals/XXXXX-r.gif" style="border: 0" alt="Customer Reviews" oncontextmenu="var d = new Date(); | |
alert('Copying Prohibited by Law - This image and all included logos are copyrighted by Shopper Approved \251 '+d.getFullYear()+'.'); | |
return false;" /> | |
</a> | |
<script type="text/javascript">(function() { var js = window.document.createElement("script"); | |
js.src = '//www.shopperapproved.com/seals/certificate.js'; js.type = "text/javascript"; | |
document.getElementsByTagName("head")[0].appendChild(js); })();</script> | |
{% unless template contains 'product' or handle contains 'store-reviews' %} | |
<script> | |
(function(w,d,s,l,i) { w[l]=w[l]||[];w[l].push( { 'gtm.start':new Date().getTime(),event:'gtm.js' } ); | |
var f=d.getElementsByTagName(s)[0],j=d.createElement(s);j.async=true;j.src='//www.shopperapproved.com/schema/'+i+'.js'; | |
f.parentNode.insertBefore(j,f);} )(window,document,'script','saData','XXXXX-sSFXP'); | |
</script> | |
{% endunless %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment