Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hey Tal,

    I’m sorry for the long delay. I noticed you have 2 similar tickets. I’ll close this one and someone from our team will get back to you with more details on UTM and variables soon and reply to this https://wordpress.org/support/topic/looking-for-mailchimp-4-wp-expert?replies=2

    Plugin Author Danny van Kooten

    (@dvankooten)

    Hi Tal,

    We have a knowledge base article explaining how to populate form fields with data from the URL, that should at least help you set off in the right direction.

    Basically, it works like this (given your example).

    To get the ref variable, use the following.

    {data key='ref'}

    If you want to set a default value (in case ref isn’t given), add the following.

    {data key='ref' default='Homepage'}

    Now, to get that into a field you can use the above tag inside the value="..." attribute of your fields.

    <input type="hidden" name="REFERER" value="{data key='ref' default='Homepage'}
    " />

    If you want to save that value in MailChimp, make sure the selected list(s) has a field matching the name. In this case: “REFERER”.

    Does that help? If not, let me know please!

    Thread Starter tdamary

    (@tdamary)

    Hey,

    That’s working, thank you.

    Mail chimp is not saving the parameters somehow… but the rest are ok.

    Thanks.

    Plugin Author Danny van Kooten

    (@dvankooten)

    If you want to save the values in MailChimp, please make sure that you have a list field with the exact same name as the hidden field you added to your form.

    In the above example, a MailChimp list field named “REFERER” should be created (type: text) to make sure MailChimp stores the value.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Dynamic Parameters’ is closed to new replies.