Skip to main content

New Page

Modify the embed code from Cognito Forms like the following.

<script src="https://services.cognitoforms.com/s/<YOUR FORM ID>"></script> 
<script>Cognito.load("forms", { id: "2",
entry: {
	"UTMCampaign":"[utm_campaign]",
    "UTMSource":"[utm_source]" ,
    "UTMMedium":"[utm_medium]",
    "UTMContent":"[utm_content]",
    "UTMTerm":"[utm_term]",
    "IP": "[handl_ip]",
    "Organic": "[organic_str]"
}});</script>

Here we only illustrated utm_* and handl_ip. However you can use all the other parameters very similar way. See the list of all the parameters available here Native WP Shortcodes