Developer Help

User Listings Widgets

Display a user's events and products catalog on any website with customizable layouts and themes

What are User Listings Widgets?

User listings widgets display a user's full catalog of events or products on any website. They pull real-time data from Streets and support grid/list layouts, dark theme, search, date filtering, inline checkout, and custom color schemes.

Quick Start

1

Include the Script

Add the Streets embed script to your page

2

Add Listings Widget

Insert a widget div with the user's Streets iD

3

Customize & Launch

Style the layout, theme, and filters to fit your site

1. Include the Embed Script

Add this script tag to your page's <head> or before the closing </body> tag:

<script src="https://thestreetsapp.com/embed/streets-embed.js"></script>

2. Widget Types

User Events

Display upcoming events from a user

<div data-streets-widget="user-events"
     data-share-id="trusundaze"
     data-layout="grid"
     data-limit="6"
     data-api-key="sk_88bcd3673fed4fe2fab5bd2afc5a1341">
</div>
  • Shows active, public events only
  • Filters events that started more than 6 hours ago
  • Date filtering and search
  • Inline checkout integration

User Products

Display products for sale from a user

<div data-streets-widget="user-products"
     data-share-id="trusundaze"
     data-layout="list"
     data-limit="8"
     data-api-key="sk_88bcd3673fed4fe2fab5bd2afc5a1341">
</div>
  • Shows active products only
  • Respects sale start/end dates
  • Low-stock indicators
  • Inline checkout integration

Widget Preview

A basic user-events widget rendered with default settings:

Loading widget preview...

For full functionality, use the interactive widget creator below or visit the test page.

Interactive Widget Creator

Customize your user listings widget and see a live preview. Copy the generated HTML code to use on your website.

Host Domain Required

For the live preview to work, your embed domain must be registered in the Streets app. On this page, the host domain is thestreetsapp.com. Add this domain under Settings > Security > Embed Domains in the Streets app.

Configuration

The user's unique Streets ID

Found in Settings > Security > Embed Domains

Used for gradients and accents

Used for highlights (optional)

User name and about text color (optional)

How checkout is handled when clicked

Live Preview

Generated HTML Code

<div data-streets-widget="user-events"
     data-share-id=""
     data-layout="grid"
     data-limit="6"
     data-theme="light">
</div>

Testing Tips

  • • Use a valid Streets ID for best results
  • • Try different layouts and themes to find your style
  • • Test with different limit values to see the effect
  • • Visit the full test page for more examples

3. Layouts & Themes

Grid

data-layout="grid"

List

data-layout="list"

Dark Theme

data-theme="dark"

4. Attribute Reference

Required Attributes

AttributeValuesDescription
data-streets-widgetuser-events | user-productsWidget type
data-share-idStringUser's Streets iD
data-api-keyStringEmbed API key

Common Optional Attributes

AttributeDefaultDescription
data-layoutgridgrid | list
data-limit6Maximum items to display
data-themelightlight | dark | minimal
data-primary-colorHex color for gradients and accents
data-secondary-colorHex color for highlights
data-header-text-colorHex color for user name / about text
data-show-searchtruetrue | false
data-hide-imagefalsetrue | false
data-hide-pricefalsetrue | false
data-inline-checkoutfalsetrue to open checkout in a modal

Events-Specific Attributes

AttributeDefaultDescription
data-show-date-filtertrueShow date range filter
data-hide-locationfalseHide event location
data-sort-bydatedate | name | price
data-event-button-labelGet TicketsCustom button text

Products-Specific Attributes

AttributeDefaultDescription
data-show-low-stockfalseShow quantity when < 10
data-sort-bynamename | price
data-product-button-labelBuy NowCustom button text

5. Code Examples

Events with Inline Checkout & Custom Colors

<div data-streets-widget="user-events"
     data-share-id="trusundaze"
     data-layout="grid"
     data-limit="6"
     data-theme="light"
     data-primary-color="#3B82F6"
     data-secondary-color="#F59E0B"
     data-header-text-color="#FFFFFF"
     data-inline-checkout="true"
     data-api-key="sk_88bcd3673fed4fe2fab5bd2afc5a1341">
</div>

Products with Low Stock & Custom Button

<div data-streets-widget="user-products"
     data-share-id="trusundaze"
     data-layout="grid"
     data-limit="6"
     data-theme="light"
     data-primary-color="#8B5CF6"
     data-secondary-color="#DC2626"
     data-product-button-label="Shop Now"
     data-inline-checkout="true"
     data-show-low-stock="true"
     data-api-key="sk_88bcd3673fed4fe2fab5bd2afc5a1341">
</div>

Finding Your Streets iD

  1. Open the Streets app on your mobile device
  2. Go to your Profile tab
  3. Tap Settings (gear icon)
  4. Look for "Streets iD" or "Share ID" in your profile settings
  5. Copy this ID and use it as the data-share-id value

Your Streets iD is public. Events and products must be set to active for them to appear.

6. Troubleshooting

Widget not displaying

Check that the embed script is loaded and your Streets iD and API key are correct.

No items showing

Verify the user has active, public events or products. Events must not have started more than 6 hours ago.

Styling conflicts

User listings widgets use isolated CSS. Use specific selectors or data attributes to override conflicts.

Try It Live

Enter your Streets iD and API Key on the interactive test page to see every user listings widget configuration in action.

Open User Listings Test Page