Link Search Menu Expand Document

Form Prefilling

You can prefill VoteAmerica tools by using URL parameters. For embeds, certain URL parameters added to the parent window can be passed to the embedded tool.

The list of accepted parameters can be viewed here:

/* Form fields */
title
first_name
last_name
suffix
address1
address2
city
state
zipcode
month_of_birth
day_of_birth
year_of_birth
email
phone

/* Hidden source fields */
source
utm_campaign
utm_source
utm_medium
utm_term
utm_content

Defaults and Overrides

In addition to allowing these parameters, we allow setting default and override UTM attributes within the embed code.

Default attributes:

data-default-Source
data-default-Utm-Campaign
data-default-Utm-Source
data-default-Utm-Medium
data-default-Utm-Term
data-default-Utm-Content

Override attributes:

data-override-Source
data-override-Utm-Campaign
data-override-Utm-Source
data-override-Utm-Medium
data-override-Utm-Term
data-override-Utm-Content