I want to pass ‘source / medium’ data every time someone submits a form via WPForms and add it to a Google Sheet but I’m not sure how to do this.
My current workflow looks like this:
- WP form submit
- Format some lead data
- Create new row in spreadsheet where spreadsheet info includes
- Name / email address from WP Form
- Draft an email to lead in Gmail
I want to modify this workflow so that Step 3 also includes ‘source / medium’ from Google Analytics so that I can keep track of where leads are coming from. A goal is set up in GA for lead submission based on events.
- WP form submit
- Format some lead data
- Create new row in spreadsheet where spreadsheet info includes
- Name / email address from WP Form
- Source / medium for each lead submitted
- Draft an email to lead in Gmail
Can anyone help?