Mailchimp uses merge tags in link url

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?

+5
source share
1 answer

Try *|URL:COMPANY|* . See the merge tag cover sheet .

+2
source

Source: https://habr.com/ru/post/1213726/


All Articles