-
swhitt1Asked on February 15, 2018 at 10:29 AM
I have a from iframed into our site. Upon sumbission I would like the current page to reload with hash at the eand of the url.
Ex:
Current page: example.com
On reload: example.com#thanksIt is appending the hash but not initiating an actual reload. So my JS that is targeting the iframe and the hash is not working. Why would it not reload the page? I am needing this so I can target the form submission for goal conversions.
-
aubreybourkeReplied on February 15, 2018 at 12:07 PM
You can use a custom thank you page by redirecting to and external link.
For example:
Instructions here:
-
swhitt1Replied on February 15, 2018 at 12:35 PM
I know but I don’t want to use a custom page (aka different url). I would like to have the message load in the same page (same url + #thanks) but on a page refresh. The hash is getting added but the refresh is not firing. I have custom JS on the page that looks for the hash on load and then preforms an action. Since the page is not actually refreshing the JS doesn't fire.
-
swhitt1Replied on February 15, 2018 at 12:38 PM
doh.. I read your email wrong. that worked!! Thanks!