SourCherry Help Centre
HomeDashboardsDashboard Widgets

How to inject User/Sub account Properties in Iframes on Sub Account Dashboards

You can now inject dynamic user or sub account properties/parameters in embedded content using iframes. Follow these step-by-step instructions to get started:


TABLE OF CONTENTS


Step 1: Enter Edit Mode


Step 2: Navigate to Objects tab

Step 3: Choose Embed


Step 4: Enter the URL

Step 5: Add Parameters


Step 6: Utilize Dynamic User Properties



Supported User Properties

  1. We support various user properties that can be passed in the URL. Replace the property in {{user.userpropertyhere}} with any of the following supported user properties:
    • companyId
    • email
    • phone
    • role
    • type
    • firstName
    • lastName
    • name
    • fullName
  2. For example, you can use https://yourwebsiteurlhere.com/?user={{user.firstName}} to pass the user's first name in the URL.