I am creating a mailchimp campaign with a link to a custom form. I would like the form fields to be filled with the information that I have from my subscribers (name, surname, company name, email address ...)
To do this, I generate custom URLs with parameters for the link in the letter. Then these parameters are filled with inputs. URLs should look like this:
http://www.example.com/custom_form.php? fname=some_name&lname=some_name& company=some_company$email=example@example.com
I have a problem in the mailchimp editor. I want to use merge tags to generate parameter values โโaccording to each subscriber, so my link looks like this in the editor:
http://www.example.com/custom_form.php? fname=*|FNAME|*&lname=*|LNAME|*&company=*|COMPANY|*&email=*|EMAIL|*
This works great unless, for example, a company name consists of two words. The URL is broken and the parameters after the company name do not work.
How can I encode merge tags for urls?
source share