Copy to Clipboard Button

Hi there.

I have a CTA composed of an image and a text above (discount code).
I would need this image to be clickable, copying the discount code to the clipboard and then triggering a little “Your discount code has been copyed to clipboard” message.

Is there any Js expert around here to provide a code/craft this little snippet so it works on my unbounce pages?

Much love.

Hi @Tanguy! I’m going to move this post into the #job-board category to put a few more eyes on this request :slight_smile:


Thank you Jess, thats nice, as usual :slight_smile:

1 Like


I’d Glad to assist you.
PM Sent, Please Check.

Very Best Regards
Carter W

Hi @Tanguy

The instructions on this page are really simple and straighforward even if you know basic HTML/JS.

Hope this helps!

1 Like