--- title: "How to add a custom redirect after a survey is submitted" updated: 2026-04-09 --- # How to add a custom redirect after a survey is submitted Using Google Tag Manager, you can create a custom redirect for any time a subscriber submits a survey, in place of the confirmation page. This creates a perfect opportunity for you to keep your audience engaging with your content by redirecting them back to a page of your choice.  ## Quick tips to get you started - **Sign in to Google Tag Manager:** To create a custom redirect as outlined in this article, you’ll need to have a [Google Tag Manager (GTM)](http://tagmanager.google.com) account. (Ensure you are using a Google account.) - **Connect your GTM account to beehiiv:** Before proceeding, [ensure your Google Tag Manager account is connected to your beehiiv account](https://www.beehiiv.com/support/article/14493016863127#h_01J568232SA11XW0G7PG7VAQR4-how-to-set-up-google-tag-manager-for-event-tracking).  - **Create a survey:** You’ll need an [existing survey](https://beehiiv.com/support/article/21900901004311) to set up a custom redirect.  - **Signup flow redirects**: If you're using a subscribe survey, you can [add a redirect to your website subscribe forms](https://beehiiv.com/support/article/24980737561367). --- ## How to add a custom redirect to a survey 1. Set up a custom trigger and tag in your Google Tag Manager account. Begin by creating a custom trigger in GTM to detect when someone completes your survey. After that, create a tag that executes the redirect code.   2. Log into your beehiiv account. From the left panel, go to **Audience >** [**Surveys**](https://app.beehiiv.com/forms).   3. The surveys you’ve created will be listed. Locate the survey you want to create the redirect for, and click the . ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXcShvf0T7Dn7Aa8kByPMqM9xmSarEXBZcnjwMuOYTPZcTYd4S8nYUjvxHf59gAHCNDhTzlAP7BS-R6mjeQjH37VG7lDIdd7x1abm1gTUbuaC5CSkDuN7jvngP1DpekAObG2Uxrf-8B0q_KxJ6V10k-UXAEG?key=gOkax4ramTW4sl5VMPZPVQ) 4. Select **Copy url**. ![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXcNc7Fz8nkYewmMNbVJ3ffOlrGtiYfE16SqgICdLWz-T7o5oc0pF-pkOZ1wEudixCrQmGiP0Vt_9a5XPS-syBy5gjIq4ZtfpcNRvhIU_f1AhKC3WUzo5bCKVVPhnWR8KnlycmtKA31__2ToroPCPi2iuBQ?key=gOkax4ramTW4sl5VMPZPVQ) 5. Go to [**tagmanager.google.com**](http://tagmanager.google.com) and sign in to your **Tag Manager workspace.**   6. From the left hand panel in your **Google Tag Manager workspace**, click **Triggers > New.**   7. For the Trigger Type, enter **Click-All Elements.**   8. Toggle the selection to **Some Clicks**.   9. Add the following filters:  - Click text equals: **Continue** > **Tech Note** > > To find this filter, you may have to click 'Choose Built-in Variable' in the filter field. On the page that pops up, you will be able to select 'Click text' as a filter. - Page URL contains: **\[Your survey form URL\]** 10. Name the trigger something descriptive, like **‘Click Continue on Survey Form’.**   11. From the left hand panel in your Google Tag Manager workspace, click **Tags > New**.   12. Type **Custom HTML.**   13. In the field, paste the following code. Replace **“\[redirect URL\]”** with the URL of the page you want to redirect users to. ```auto ``` 14. Under **Trigger**, select the trigger you created in steps 4-11.   15. Give this new tag a name like **‘Survey Form Redirect’.** Click **Save**.   16. Publish your changes and test the setup by submitting responses to your survey and clicking **Continue**. ---