Hi,

You can use %get[campaign] as default value for a web component, so the easiest 
is to add a hidden component to store this, for the redirect you need a custom 
module with a hook-form-alter, see http://drupal.org/node/952342#comment-4134176



Best regards,
Peter Droogmans
Attiks
Ketsstraat 94
2140 Borgerhout
Belgium
32 3 288 61 17
32 497 44 44 77


-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Lynn Stott (Stott Design)
Sent: dinsdag 21 juni 2011 7:01 AM
To: [email protected]
Subject: [development] Custom Webform Module

I have a module that creates a web form for users to fill out. I'd like to 
track different campaign that access the same web form using a different URL so 
I can track hits and conversion rates for each URL. For example 
www.mywebsite.com/myform?campaign=june
www.mywebsite.com/myform?campaign=july

How in the module can I capture the extension (after 'campaign=') and redirect 
the user to a unique confirmation page based on the extension?

Thanks,
Lynn 

Reply via email to