I want to grab the current page name (preferably TabName, not TabID), stick it in a hidden field and then pass it to the next page via querystring parameter after the form submits. Is this possible? If so, can you please walk me through how to get the TabName into the hidden field on page load? Not sure if this is something for tokens, javascript or SQL.
Ultimately, I want to solve this problem: My not-so-tech-savy client manages the site themselves and has a simple "contact us" form on multiple pages (in a side bar). We currently only have it on a few pages, so we created a unique thank you page for each form instance to redirect to after form submission (for Google Analytics purposes). Now, they want the same form on every page of the site, so I'm trying to figure out a way to use the same form (share existing module) and one single thank you page...but pass along the referring page name in the querystring, so that Google can see where each form submission is coming from. Hopefully I'm not going about this the wrong way.
Thanks a bunch!