Help with redirect to different survey | Community
Skip to main content
Answered

Help with redirect to different survey


Forum|alt.badge.img

Good afternoon,

I integrated typeform to Active Campaign and I want to send out a survey to the contacts in Active campaign. I do not want them to fill in all contact details again, so I wanted to use ?email=%email% to the end of the URL. I tested and it works. If the receiver clicks the link it will take over their e-mail, so I know from which respondent the answers are coming and information of the survey will be added to their profile in Active Campaign (not sure if this is the best way, so if not, please let me know)

But now the difficulty: the first question of the survey should be: what is your position and they have the choice out of four target groups: 

  1. architects
  2. interior designers
  3. resellers
  4. consumers

All groups will receive different questions. The total survey is different, so I would like to start with the position question in a seperate survey and based on the answer I would like to redirect them to following survey. I know how to do this with some logic to end screens and re-direct URLs to the right survey, but the thing is that if I do this I am losing the e-mail address in the URL and I do not know how to fix that with hidden fields, because they did not fill out a question with their mail adres. It was added because they clicked the link in the mail (including ?email=%email%) from Active Campaign.

 

Can you help me solve this issue?

 

Thank you!

Best answer by john.desborough

@Charlene123 - create a hidden field variable inside your typeform so that when you send the email address into the form, it has a ‘bucket’ to catch the value. at the end of the form when you want to redirect them to another form, as you describe, you can use the hidden variable name to append to the redirect url

 

des

View original

7 replies

john.desborough
Forum|alt.badge.img+6
  • Certified Partner & Champion
  • 5272 replies
  • Answer
  • April 17, 2023

@Charlene123 - create a hidden field variable inside your typeform so that when you send the email address into the form, it has a ‘bucket’ to catch the value. at the end of the form when you want to redirect them to another form, as you describe, you can use the hidden variable name to append to the redirect url

 

des


Forum|alt.badge.img
  • Author
  • Explorer
  • 5 replies
  • April 17, 2023

Hi John,

Thank you for your reply. I created the hidden field in email in my survey, but how do I make sure that it the field will be filled from AC? I did some tests, but it didn't work. Not sure what I am doing wrong


john.desborough
Forum|alt.badge.img+6
  • Certified Partner & Champion
  • 5272 replies
  • April 17, 2023

@Charlene123 - that’s an AC issue.. and you have to have the email address in the user record in AC. 

 


Forum|alt.badge.img
  • Author
  • Explorer
  • 5 replies
  • April 17, 2023

Hi John,

 

Yes I do have the record in AC and I am using ?email=%email% to get it in the URL of the survey. So for example: the mailing to the cotnacts who will be respondents will include a link to my survey including ?email=%email% - so the email field will be taken over to the URL. I created a hidden field in typeform for email, so the URL contains: email=xxxxx - but if I go to the next survey with the redirect the information is gone


john.desborough
Forum|alt.badge.img+6
  • Certified Partner & Champion
  • 5272 replies
  • April 17, 2023

@Charlene123 - are you using the Typeform URL in AC email that you are sending?  use that link and replace the xxxxx with the %email%  string.. 

 

that should do the work for you

 


Forum|alt.badge.img
  • Author
  • Explorer
  • 5 replies
  • April 18, 2023

Hi John,

I tried what you said: I added the link of the first survey to my mailing in AC and replaced the xxxx for %EMAIL%. As soon as someone clicks the link I see the e-mail is taken over in the URL on the place of %EMAIL%, so that's correct.

 

But now, after the first question, we are going with a redirect to the next survey. I added email=%EMAIL% to the redirect URL, and also tried it with just the xxxxx on place of the e-mail. But as soon as I go from the first survey to the next, the e-mail address is gone. Why is it not in the ‘bucket’ and send into the next form? Not sure what I am doing wrong


Forum|alt.badge.img
  • Author
  • Explorer
  • 5 replies
  • April 18, 2023

Nevemind, after 6 cups of coffee it worked 😁


Reply