Welcome, Guest
Username: Password: Remember me

TOPIC: Having multiple surveys presented at random from one link

Having multiple surveys presented at random from one link 10 months 3 weeks ago #102969

  • sinandrei
  • sinandrei's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
Hello everyone,

My question would be if it were possible to have "multiple surveys presented at random from one link". So lets say I have 4 surveys and participant is presented one of those four at random.

I would be keen on using any workaround. Is the easiest thing to do to start all over, start with a randomly presented question and use logical branching from there one?

Thank you in advance,
Andrei
The administrator has disabled public write access.

Having multiple surveys presented at random from one link 10 months 3 weeks ago #102970

  • supercosh
  • supercosh's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 25
  • Thank you received: 9
  • Karma: 1
Hello Andrei

I would recommend writing a small PHP script which randomly redirects the user to one of your four surveys.

Then you would send your users the script url instead of the survey url. The script would look like that:
<?php
  $surveys = array (
    1 => 'www.example.com/?s=734567',
    2 => 'www.example.com/?s=734567',
    3 => 'www.example.com/?s=734567',
    4 => 'www.example.com/?s=734567'
  );
 
  $chosen = rand(1,4);
  header("Location: {$surveys[$rand]}");
?>

Regards
Gregor
The administrator has disabled public write access.
The following user(s) said Thank You: DenisChenu, sinandrei
Moderators: ITEd
Time to create page: 0.173 seconds
Donation Image