View source: R/analytics-dashboard.R
sf_set_dashboard_sticky_filter | R Documentation |
Set a default filter value which gets applied to a dashboard when you open
it. The default filter value you specify only applies to you (other people
won’t see it when they open the dashboard). If you change the filter value
while viewing the dashboard, then the filter value you set in the user
interface overwrites the value you set via the API. To set sticky filters for
a dashboard, canUseStickyFilter
must equal true.
Saves any dashboard filters set in the request so that they’re also set the
next time you open the dashboard. NOTE: You can only set dashboard filters for
yourself, not for other users.
sf_set_dashboard_sticky_filter( dashboard_id, dashboard_filters = c(character(0)) )
dashboard_id |
|
dashboard_filters |
|
list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.