'how give a link to an Elementor Pro widget with variable part

I'm trying to give link to one button in Elementor like this (for sharing the post on a social media site):

https://eitaa.com/share/url?url={url}

by {url} I mean the current post url. but when I put this as link for button it doesn't work
anyone can help?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source