Skip to main content

Mailgen Form Embed Integration

Create the subscribe (opt-in) form on Mailgen

Select form fields and enter the custom parameters you'd like to track. You can find the list of parameters you can track here Native WP Shortcodes.

Copy HTML embed code and paste it into WordPress page

Wrap around each custom fields using our wrappers

For example:

Replace

<div class="c2">
	<input type="text" class="text" name="merge[3]" accept="text" value="">
</div>

To

<div class="c2">
	**[utm_campaign_i]**<input type="text" class="text" name="merge[3]" accept="text" value="%s">[/utm_campaign_i]
</div>