Add Referrer and UTMS in Contact form 7

1. Install plugin (HandL UTM Grabber by Haktan Suren)

2. Add shortcodes in the contact form 7 Form tab

[utm_campaign_i]<input type=”hidden” name=”utm_campaign” value=”%s” />[/utm_campaign_i]
[utm_source_i]<input type=”hidden” name=”utm_source” value=”%s” />[/utm_source_i]
[utm_medium_i]<input type=”hidden” name=”utm_medium” value=”%s” />[/utm_medium_i]
[utm_term_i]<input type=”hidden” name=”utm_term” value=”%s” />[/utm_term_i]
[utm_content_i]<input type=”hidden” name=”utm_content” value=”%s” />[/utm_content_i]
[gclid_i]<input type=”hidden” name=”gclid” value=”%s” />[/gclid_i]
[handl_original_ref_i]<input type=”hidden” name=”handl_original_ref” value=”%s” />[/handl_original_ref_i]
[handl_landing_page_i]<input type=”hidden” name=”handl_landing_page” value=”%s” />[/handl_landing_page_i]
[handl_ip_i]<input type=”hidden” name=”handl_ip” value=”%s” />[/handl_ip_i]
[handl_ref_i]<input type=”hidden” name=”handl_ref” value=”%s” />[/handl_ref_i]
[handl_url_i]<input type=”hidden” name=”handl_url” value=”%s” />[/handl_url_i]

3. Add shortcodes in contact form 7 mail tab

Campaign Name: [utm_campaign]
Campaign Source: [utm_source]
Campaign Medium: [utm_medium]
Campaign Term: [utm_term]
Campaign Content: [utm_content]
Gclid: [gclid]
Original Ref: [handl_original_ref]
Page Landed: [handl_landing_page]
IP: [handl_ip]
Referrer: [handl_ref]
URL: [handl_url]