Calvin
I'm not sure where to ask this, or if it is even possible.
My client wants to change their donation link so that when they click on it, a different end URL is loaded.
So if a person in the USA clicks on a link, it goes to the USA donation page. If a person in the UK clicks on the SAME link, it goes to the UK donation page.
I know I can geo-locate the link itself in place, but this could be pretty involved as the donation links could be on many different locations buried in the site. I was hoping there would be a way to do this more universally.
As a related topic, the mobile menu pulls directly from the Joomla menu. Would a solution to the redirected links/buttons also work with the menu donate link?
I thought of using ReReplacer, but that won't work in this situation as that although the link goes to an external site, some Javascript from the donation processor actually interprets the link and creates a popup window with the donation form. Since ReReplace works on the end result sent to the web browser, it would not do the replacement early enough in the sequence to be acted on by the popup script.
I have the full Regular Labs bundle, so can combine any of your extensions to solve this if necessary.
If this just isn't possible with any Regular Labs extensions, I'll geo-locate the buttons themselves. I'm not sure what to do about the menu link.
Thanks for your help.