How to make the Redeem Link CTA-button open in a new window

On the Redeem Link landing page, you can optionally add a button that links to your website. In some cases, you might want this button to open in a new window instead of the current. You can use custom javascript to modify the button code to allow this.

Add the following javascript at the top of the page message:

<script>
document.addEventListener('DOMContentLoaded', function(){
$('.btn-primary:first').attr('target','_blank');
}, false);
</script>

Here's how the code will look when added to the redeem link page message. This will cause the button link to open in a new window when clicked:

Still need help? Contact Us Contact Us