Question:
Is there any way to send a link by email to the website users and by clicking the link update the data collection field?
Product:
Website will send an activation link to the users and users by clicking the link will activate their information.
What are you trying to achieve:
[Explain the details of what you are trying to achieve. The more details you provide, the easier it is to understand what you need.]
What have you already tried:
[Share resources, forum topics, articles, or tutorials you’ve already used to try and answer your question.]
Additional information:
[Include any other pertinent details or information that might be helpful for people to know when trying to answer your question.]
Sure. simply create a page which executes the code you’d like. Perhaps using a query to determine the request to run
1 Like
Thanks for the reply. I have a page
and a link is being send to the user with an activation code. What I need to do is add the activation code to the link and by clicking the link the account to be activated directly. i.e.
www.website/activationpage/activationcode “1234567”
I appreciate if you can help on this.
Have you clicked the link I sent? I referred you exactly to what you’re looking for
Maybe I’m doing something wrong but it’s not working.
I added the code into the page and tested with this url and it didn’t work
www.website.com/activate?#activeCode=123456987
Am I missing something?
ActiveCode is the ID of the object
Thanks
A URL is made of the following parts:
protocol://hostname.domain.extension/path?query#fragment
In order to utilize the query, you can do this:
https://www.example.com/activate?code=123456987
Then, in the page code:
import wixLocation from 'wix-location-frontend'
// wixLocation.query: { code: 1234567 }
const code = wixLocation.query.code
I really appreciate your help. It worked. Thank again.