Skip to main content

Hi! We’re currently working on re-vamping our referral program and would like to add a button to an email with a “copy to clipboard” CTA that will automatically copy the url we assign to the button to the users clipboard which they would then be able to share with friends and family. 

Any chance this is possible in the template editor? We have other similar variable syntax (apply coupon to cart, etc.) but I can’t find any articles on this use case.

Hey @Kelly 

Thank you so much for coming to the Klaviyo Community with this idea! It would be really great way to make it easier for your customers to revisit your site! At this time, Klaviyo does not have anything native to our integrations to add a link to someone’s clipboard or bookmarks. There may be some custom coding that could do this, but you would need to work with a developer or your IT team to build it. I am adding this idea to our product board for possible evaluation. If there is ever an update on this, I will share that news with you here in this thread!

Thank you so much for being part of the Klaviyo Community.


Hi @stephen.trumble

I’m also looking to have this feature in our CTA buttons where we are offering a coupon code and stumbled across this post. If we are able to add custom coding behind the Klaviyo CTA buttons to achieve this, where/how do we access that as I can’t seem to see any options in the settings? 

Also is this feature being developed? I feel with Klaviyo being an e-commerce lead emailing client, this feature is a big miss on Klaviyo’s behalf. 

Thanks! Michael


Hey @MNgo 

Sorry for the delay in response, but happy to help answer your questions! 

You can add a static coupon code in your success message after your customers have submitted your CTA. In your signup form template, if you choose the success message you can add the static coupon code there. If you want to use unique coupon codes, it will need to be added to an email template that is triggered by the list your signup form is directed too as our signup form success message does not allow for unique coupon codes to be used. 

As far as adding your website to someone’s bookmarks or clipboard, there is no update at this time on if or when this functionality will be available. If there is an update, I will share it in this post.

Thank you!


Is this feature released already?


.


Hi @karinlickers

 

Thanks for sharing your question! 

 

As stephen mentioned earlier

 As far as adding your website to someone’s bookmarks or clipboard, there is no update at this time on if or when this functionality will be available. If there is an update, I will share it in this post.

Thank you!

 

There hasn’t been an update on this so far, we will circle back if and when it is the case! 

-Taylor


Still no updates?


@tommyg

I’m following up with the product team to see if this is on the roadmap - will share back when I hear any news. 

~Chloe


Thanks Chloe. Waiting for your update. 


@tommyg -- have you considered using an app for your referral program? ReferralCandy has this copy to click feature for referral links and integrates with Klaviyo.

cc ​@Kelly 


To create a "Click to Copy" button for referrals in Klaviyo:

  1. Use HTML and JavaScript in your email template to enable a copy-to-clipboard functionality.
  2. Add the referral code or link dynamically using Klaviyo's personalization variables (e.g., {{ person|lookup:'Referral Code' }}).
  3. Ensure the email platform supports JavaScript, as many email clients block it. If not, provide the referral code in plain text with instructions for manual copying.

Alternatively, direct users to a webpage where the "Click to Copy" functionality can be implemented easily.


Reply