Your cart is currently empty!
Contact form 7 to have a field for affiliate ID
—
by
The system I have set up uses the links for affiliate and also direct ones where if details of where they found the site from we can manually assign credits or the lead to an affiliate. So we’re all good there.
What we need to know is using Contact form 7 how do add a field for affiliate ID if someone is given it to enter in the form.
Tried a few things like –
Promotion ID
[text affiliate_id]
and
[hidden affiliate_id “3”]
Many thanks
Andy
Our form currently looks like:
______________
Your Name (required)
[text* your-name 25/]
Subject
[text your-subject 25/]
Your Email (required)
[email* your-email 25/]
Contact Number/s (required)
[text* phone 25/]
Postcode
[text postcode 10/]
Your Message (required)
[textarea your-message]
Ticking the box indicates you are wanting broadband and accept you will be contacted by Quickline.
[acceptance acceptance-313 default:off]
[submit “Send”]
[hidden amount “25”]
_____________
Comments
4 responses to “Contact form 7 to have a field for affiliate ID”
You can also use the hidden option to assign it to a user if they Iframe a form into a website
[hidden affiliate_id “8”] option too
That worked a treat thank you. In addition it would be good to show the referral login name if the ID is only given in the email notification.
I used the code [text affiliate_id] as a drop down of say 100 ID’s would be too much.
🙂
Great, for the notifications and affiliate info you have additional tokens – please have a look at http://www.itthinx.com/documentation/affiliates/notifications/
Hi Andy,
Thanks for the suggestion. I’ve updated the plugin to allow for two fields, one named
affiliate_id
and the other namedaffiliate_login
where the first would allow to indicate the referring affiliate’s ID and the second to indicate the referring affiliate’s user login. If any of these fields is provided in a form, the referrer is taken from there (empty fields don’t assign the referrer).Example field definitions:
Select the affiliate ID
[select affiliate_id "" "1" "2" "3" ]
... or select the affiliate login
[select affiliate_login "" "wendy" "jack" "joe"]
Cheers