Hi Tal,
I just replied to your other ticket, sorry for the delay in this: https://wordpress.org/support/topic/dynamic-parameters?replies=3#post-7889984
I’ll modify my example here so it works with UTM variables. This is how I would go about it.
1. If you want to store the UTM variables in MailChimp, make sure you create list fields named “UTM_SOURCE”, “UTM_CAMPAIGN” and “UTM_MEDIUM”.
2. Add the following HTML to your form.
<input type="hidden" name="UTM_CAMPAIGN" value="{data key='utm_campaign'}" />
<input type="hidden" name="UTM_SOURCE" value="{data key='utm_source'}" />
<input type="hidden" name="UTM_MEDIUM" value="{data key='utm_medium'}" />
Hope that helps. If not, let me know!
Thanks a lot guys!
I have found that solution 🙂 Working.
Thanks again.
Hi, I am having the same issue and this solution does not seem to be working.
Here’s my form code:
<center>
<p>
<label></label>
<input type=”email” name=”EMAIL” placeholder=”Enter Your Email” required />
<input type=”hidden” name=”OPTINOFFER” value=”8 Reasons Article”>
<input type=”hidden” name=”OPTIN” value=”{current_url}”>
<input type=”hidden” name=”REFERRER” value=”{data key=’utm_source’}” />
<input type=”submit” value=”Get the Guide” />
</p>
</center>
Here’s my URL:
….com/8-reasons-to-try-cbd/?utm_source=test&utm_medium=test&utm_campaign=test
Here’s my Mailchimp Test:
http://screencast.com/t/ak3BmXEP
…For some reason it is pulling in the code string rather than the data.
Thanks!