Hi all - looking for a way to obfuscate an email address and phone number to reduce spam. I know how to do this using javascript in HTML, but not familiar with Corvid or the code needed to do this.
Is this possible in Wix? Thanks in advance for any help.
What is your use case? What are you trying to accomplish?
Hi Yisrael - I am trying to reduce spam. When bots crawl sights they can easily grab your email address or phone number if it’s not obfuscated.
I’m just not sure where to place this code in Wix.
You can use an HtmlComponent .
A much better option is to use a Contact Form. Then, you don’t need an email address (obfuscated or not) at all.
Thanks - not sure how to use the HTML component. I have a contact form, as well. But I want to have both email, phone and form available.
@hilaschurr Well, you’re not really giving an email with the obfuscated string. The contact form does send an email. You can then reply to the user after receiving the contact notification.
If you want to use the obfuscated string in an HtmlComponent, then see this article . In my opinion, with a contact form you won’t need this. But it’s your call.
@yisrael-wix Thanks - I’m unable to paste code in my reply, but here’s the code I was trying to use:
@hilaschurr Just insert it into the HtmlComponent, by opening the HTML element’s settings panel, select Code , and paste the Javascript code.
We can’t support third party scripts, so if you have any trouble with the script itself you will have to ask the provider for assistance.
@yisrael-wix got it - I appreciate the guidance.
hi - i have the same issue. did this work for you?