Proximitii Book a Demo

Local Insights Widget Documentation

Connect visitors to a wider local profile and report experience. Read the installation details, parameters and examples.

The Local Insights Widget combines demographic highlights, selected local data cards, and an area-report call to action in one listing-friendly component.

Local Insights Widget with demographic cards and an area report call to action

Installation

Add the following embed code to your page or template. Replace the widget key and coordinates with your own values.

<div id="prox-local-insights"></div>

<script src="https://widget.proximitii.com/v1/core/proximitii-widget.js?v=35"></script>

<script>
ProximitiiWidgets.localInsights({
  container: 'prox-local-insights',
  widgetKey: "PUT_YOUR_WIDGET_KEY_HERE",
  lat: 40.778832684988224,
  lon: -73.98103168840414
});
</script>

Always provide a valid widgetKey, lat, and lon. All other settings are optional and fall back to the defaults listed below.

Customization

The following Local Insights Widget customization options are available.


General and Content Options:

NameDescriptionDefault ValueAccepted ValuesVariable / Function
ContainerThe ID of the div where the widget renders.N/AAny valid element IDcontainer
Widget KeyYour public widget key.N/AValid Proximitii widget keywidgetKey
LatitudeSets the latitude of the center location.N/ADecimal between -90 and 90lat
LongitudeSets the longitude of the center location.N/ADecimal between -180 and 180lon
RadiusSets the local data search radius.500Positive number of metersradius
CountrySets the country dataset.usus or cacountry
LanguageSets the widget language.enen or frlanguage
TitleSets the widget title.The Complete Local PictureAny valid texttitle
Title Font SizeSets the title font size.30pxCSS sizetitleFontSize
DescriptionSets the text shown below the title. The $radius token is replaced with the selected radius.See who lives within a $radius radius and unlock 300+ local insights.Any valid textdescription
Show HighlightsShows or hides the community-highlight row.truetrue/falseshowHighlights
Show DataShows or hides the selected local data cards.truetrue/falseshowData


Appearance Options:

NameDescriptionDefault ValueAccepted ValuesVariable / Function
Show BorderShows or hides the widget border.truetrue/falseshowBorder
Primary ColorSets the primary brand color.#607eb8Hex colorprimaryColor
Secondary ColorSets the secondary panel/background color.#f8fafcHex colorsecondaryColor
Font FamilySets the widget font family.Poppins, sans-serifAny valid CSS font-familyfontFamily
Box StyleControls the widget container styling.shadowshadow or flatboxStyle


Data Card Options:

NameDescriptionDefault ValueAccepted ValuesVariable / Function
Data CardsSelects the five demographic data cards shown in the widget.population, medianAge, marriedAdults, withKids, medianIncomeSelect exactly five: population, medianAge, marriedAdults, withKids, medianIncome, households, populationDensity, unemploymentRate, peoplePerHousehold, bachelorsDegreecards