Attribution - pass source, medium data into Pipedrive from Wordpress

What’s the best way to pass source, medium, and campaign data into Pipedrive?
I’m currently using a WordPress site with a Pipedrive form embedded via iframe.
p.s. didnt find correct group to post this