- This topic has 1 reply, 2 voices, and was last updated 9 years, 6 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate Tweaks › Affiliate Plugin – Using multiple custom fields for tracking multiple variables
Tagged: Custom, custom field, tracking, WP Affiliate
I need to track more than one custom field in my affiliate links. Currently I am using: mywebsite/?ap_id=1201&c_id=
I would like to add more c_id fields so my affiliates can pass over sub id, click id, etc…
Can you please let me know if this is possible? Does it involve custom coding?
I am running wordpress, woo commerce, WP Affiliate
Thanks
Phil
You can add those different variables/data in your one custom field using a delimiter.
So for example, lets say your sub ID is xy and click ID is 123 then you can join those data using a dash or underscore character and pass it all via the custom field.
mywebsite/?ap_id=1201&c_id=xy-123
or
mywebsite/?ap_id=1201&c_id=xy_123