Track user Behavior on Embedded Dashboards

I do have some embedded dashboards into my website and member portal, how can I understand how they are engaging with those dashboards, where they click and how they are interacting with it. Like MS Clarity works.
I tried using MS Clarity but since domo is embedded as a third party in iframe, MS clarity dont look inside iframes.
Best Answer
-
Since the Domo dashboards are embeddedin an iframe, tracking tools don't have direct access to grab the interactions within the iframe. You have a few options though. You can setup tracking to attach listeners within your page to capture data when users interact with the dashboard. You can then push the data to your preferred analytics tool or your own database.
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0
Answers
-
Since the Domo dashboards are embeddedin an iframe, tracking tools don't have direct access to grab the interactions within the iframe. You have a few options though. You can setup tracking to attach listeners within your page to capture data when users interact with the dashboard. You can then push the data to your preferred analytics tool or your own database.
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0 -
Would it be possible to learn more about this option? We use a secured space within WordPress and our DOMO dashboards are set to private and reside within the portal environment. We'd like to track the monthly usage of all of our dashboard inventory.
0 -
@DeborahAnderson - you should post your question as a new question so the forum community can read it in entirety.
A quick response….
DomoStats and Domo Governance Datasets collect data on dashboard views and provide insights on dashboard or card views, user activity, date and time.
Since your dashboards are embedded in WordPress, you can probably layer an additional tracking using WordPress' functionalities. Google Analytics or Tag Manager to add custom event tracking (clicks, page views on user interaction), triggers on when the iFrame with a Domo dashboard is loaded.
If you use WordPress membership or portal plugins, it might already have built-in tracking. Other options might be plugins like MonsterInsights or MemberPress.
I believe there is a Domo Embed SDK JavasScript library that allows you to embed Domo content in your website or application. First add snippet to your sites head tag.<!-- Global site tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
// Replace with your Google Analytics ID
gtag('config', 'G-XXXXXXXXXX');
</script>
Code would be something like:domo.embedDashboard({
container: '#domo-container',
url: 'https://your-domo-instance.domo.com/embed/pages/your-dashboard-id',
events: {
onDashboardLoad: function () {
console.log('Dashboard loaded');
gtag('event', 'DashboardLoad', { dashboardId: 'your-dashboard-id' });
},
onCardClick: function (data) {
console.log('Card clicked:', data);
gtag('event', 'CardClick', { cardId: data.cardId, title: data.title });
}
}
});Or you could try to track when the iFrame loads on the parent page.
const iframe = document.getElementById('domo-container');
iframe.addEventListener('load', function () {
console.log('iFrame loaded');
gtag('event', 'DashboardLoad', { dashboardId: 'your-dashboard-id' });
});Although it doesn't track specific data, it does identify when the iFrame loaded.
You can also try using query parameters.
https://your-domo-instance.domo.com/embed/pages/your-dashboard-id?userId=12345&sessionId=abcde
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0 -
Domo Everywhere does have support for 3rd Party Analytics
By default, Domo tracks content interactions, including cards, dashboards, loads, and interactions like filters, drill paths used, and exports. The 3rd Party Analytics feature allows you to monitor your digital experience and use Digital Experience Intelligence (DXI) solutions like FullStory, Sprig, PostHog, or Heap to track advanced interactions.You can see more details here: https://domo-support.domo.com/s/article/360043437993?language=en_US#third_party_analytics
Ken Boyer
Dir, Product Management
AI, Domo Everywhere
0
Categories
- All Categories
- 2K Product Ideas
- 2K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 311 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 3.8K Transform
- 655 Datasets
- 114 SQL DataFlows
- 2.2K Magic ETL
- 811 Beast Mode
- 3.3K Visualize
- 2.5K Charting
- 80 App Studio
- 45 Variables
- 771 Automate
- 190 Apps
- 481 APIs & Domo Developer
- 77 Workflows
- 23 Code Engine
- 36 AI and Machine Learning
- 19 AI Chat
- AI Playground
- AI Projects and Models
- 17 Jupyter Workspaces
- 409 Distribute
- 120 Domo Everywhere
- 279 Scheduled Reports
- 10 Software Integrations
- 142 Manage
- 138 Governance & Security
- 8 Domo Community Gallery
- 48 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 114 Community Announcements
- 4.8K Archive