How can I go back to the welcome page after showing the thank you page?

Query error in increase views.