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:
Step 1: Access Edit Mode
Access Edit mode on your Sub Account Dashboard.
Step 2: Go to Objects Tab
While in Edit mode, navigate to the Objects section.
Step 3: Select Embed
Choose the Embed option from the Objects menu.
Step 4: Input the URL
Input the URL of the content you wish to embed into the dashboard.
Step 5: Include Parameters
After entering the URL, incorporate the necessary parameters to tailor the content.
Step 6: Incorporate Dynamic User Properties
You can dynamically insert the sub-account or user identifier into the iframe source. Utilize placeholders like {{location.id}} or {{location.name}} in the URL for enhanced versatility.
Supported User Properties
We provide several user properties that can be included in the URL. Replace {{user.userpropertyhere}} with any of the following supported user properties:
companyId
email
phone
role
type
firstName
lastName
name
fullName
As an illustration, you can employ https://yourwebsiteurlhere.com/?user={{user.firstName}} to include the user's first name in the URL.