BandCamp has a artist/label feature that allows fans to redeem download codes for free music (pretty cool). In order to redeem a code, fans need to visit a page on the artist’s BandCamp site (ARTIST_NAME.bandcamp.com/yum). But what if you wanted your fans to redeem the codes from your website instead of sending them straight to BandCamp? Well, there is a way to do that.

Copy/paste the code below into your website to add the form. Be sure to change ARTIST_NAME to the actual artist name as it appears in your BandCamp URL. Here is an example of the code in action on my website.

<form class="download-code-form" action="https://ARTIST_NAME.bandcamp.com/yum" method="get" target="_blank">
    <input name="code" type="text" placeholder="e.g. lanz-gh9h" aria-label="code" /> 
    <input type="submit" value="Redeem Code" />
</form>

 

1