In Wordpress, I need to append the page title variable ($page) into a link on an elementor button
so link in elementor button is https://test.com/apply
And I want to track which page the click has come from using UTM
e.g. https://test.com/apply?utm_source=homepage
or https://test.com/apply?utm_source=FAQ
so I need to have something like : https://test.com/apply?utm_source=$page
Is this possible?
I've tried a few different ways, but nothing seems to work.
You can manipulate strings and concatenate variables.
Example:
Result in this case should be:
https://test.com/?title=MyPageTitle