<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Tracking user interaction]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I have a dashboard display which runs unattended on Mango and I would like to track how often people are clicking on it and interacting with it.<br />
So far I have considered detecting mouse movement using JS, something like: <a href="https://stackoverflow.com/questions/13206042/detecting-mouse-movement-without-jquery" rel="nofollow ugc">https://stackoverflow.com/questions/13206042/detecting-mouse-movement-without-jquery</a><br />
And then updating a point in the JSON store when this interaction is detected.<br />
Using a Meta Data Source I could potentially record the change in the JSON point. Once the data point is set up I can then generate graphs, determine statistics and so on.</p>
<p dir="auto">What do you think of this approach? There are no API publishers for this that I know of, but I think it could be a really valuable feature of Mango.</p>
]]></description><link>https://forum.mango-os.com/topic/3118/tracking-user-interaction</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Apr 2026 23:25:59 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/3118.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 01 Dec 2017 02:49:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Tracking user interaction on Mon, 04 Dec 2017 04:50:44 GMT]]></title><description><![CDATA[<p dir="auto">Hi guys,</p>
<p dir="auto">Thanks very much for the advice. Upon <a class="plugin-mentions-user plugin-mentions-a" href="/user/jared-wiltshire" aria-label="Profile: Jared-Wiltshire">@<bdi>Jared-Wiltshire</bdi></a>'s recommendation I pasted my<br />
Google Analytics Property ID into the UI settings page. It's then as simple as creating an onclick event: <a href="https://developers.google.com/analytics/devguides/collection/analyticsjs/events" rel="nofollow ugc">https://developers.google.com/analytics/devguides/collection/analyticsjs/events</a></p>
<pre><code>&lt;div flex layout="column" onclick="ga('send', 'event', 'buttons', 'click','B005');"&gt;&lt;/div&gt;
</code></pre>
<p dir="auto">From here I was able to view real-time and historic page interactions based on clicking. I could also create events for mouse moving, but it generates a lot of events as you would expect and in google analytics you are limited to 500 hits per session or 10 million events per month.</p>
<pre><code>&lt;div flex layout="column" onmousemove="ga('send', 'event', 'mouse', 'move','B005');"&gt;&lt;/div&gt;
</code></pre>
<p dir="auto">Really happy though - exactly what I was after.<br />
<img src="https://camo.nodebb.org/95f6939b3724b5cd4117be266d7e39d505a79b92?url=https%3A%2F%2Fi.imgur.com%2FVyOiGCS.png" alt="0_1512363020533_79cc2909-7665-4277-8ef0-f8983f6165ca-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.mango-os.com/post/16366</link><guid isPermaLink="true">https://forum.mango-os.com/post/16366</guid><dc:creator><![CDATA[henryblu]]></dc:creator><pubDate>Mon, 04 Dec 2017 04:50:44 GMT</pubDate></item><item><title><![CDATA[Reply to Tracking user interaction on Fri, 01 Dec 2017 16:17:04 GMT]]></title><description><![CDATA[<p dir="auto">The other thought I had was you could setup an HTTP Receiver data source and make a GET request to set a point value.  This approach would keep from having to allow SET permission on the Virtual data point Jared suggested.</p>
]]></description><link>https://forum.mango-os.com/post/16351</link><guid isPermaLink="true">https://forum.mango-os.com/post/16351</guid><dc:creator><![CDATA[terrypacker]]></dc:creator><pubDate>Fri, 01 Dec 2017 16:17:04 GMT</pubDate></item><item><title><![CDATA[Reply to Tracking user interaction on Fri, 01 Dec 2017 16:12:25 GMT]]></title><description><![CDATA[<p dir="auto">Also you can plug Google Analytics into the dashboards via <code>UI Settings</code></p>
]]></description><link>https://forum.mango-os.com/post/16350</link><guid isPermaLink="true">https://forum.mango-os.com/post/16350</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Fri, 01 Dec 2017 16:12:25 GMT</pubDate></item><item><title><![CDATA[Reply to Tracking user interaction on Fri, 01 Dec 2017 16:10:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/henryblu" aria-label="Profile: henryblu">@<bdi>henryblu</bdi></a> said in <a href="/post/16347">Tracking user interaction</a>:</p>
<blockquote>
<p dir="auto">And then updating a point in the JSON store when this interaction is detected.<br />
Using a Meta Data Source I could potentially record the change in the JSON point.</p>
</blockquote>
<p dir="auto">I would say the easiest way to do what you want is set an interval timer in the dashboard for say one minute. If you detect any mouse movement in that one minute, set a binary point (just create a virtual data point, no change) value to 1. If no movement was detected set it to 0.</p>
]]></description><link>https://forum.mango-os.com/post/16349</link><guid isPermaLink="true">https://forum.mango-os.com/post/16349</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Fri, 01 Dec 2017 16:10:52 GMT</pubDate></item></channel></rss>