I want to see the screen resolutions more used by our customers.
Best answer by jonathan
View originalI want to see the screen resolutions more used by our customers.
Best answer by jonathan
View originalHey
Snapshots get fired when a Heap event is fired. You can think of it as a kind of tag manager where the event is the trigger. Here’s the steps to capture Screen Resolution.
window.screen.width + ' x ' + window.screen.height
Here’s the finished product.
You can find other interesting Snapshots examples in our developer docs.
Hope this helps!
Hi, thanks for sharing this! Is anyone also experiencing getting results, where the majority reads as “no data”? I’ve set up the snapshot following the example above, and it looks like it works just fine, but I’m for sure missing something.
Could you provide an example of how to use the Screen Resolution Property correctly as part of a chart to include on a Dashboard? I’m struggling to understand how to correctly leverage.
Could that be what’s happening here?
A common analysis would be something like the below in the Usage Over Time module (you would get an output that looks very similar to the one
Hi! I set up the Snap Shot about 10:05 am this morning. At 11am, still seeing quite a bit of No Data for both Mobile and Desktop. Any guess why and potential fix if any? Thanks!
This is a snapshot that doesn’t rely on timing so I’m not 100% sure why some data would be missing. First I’d check the % of pageviews that are missing the property (get a sense of scale, maybe it doesn’t matter), and then I’d look at pageviews with a filter for `Screen Resolution is not defined` and group by domain and path in case there are any commonalities or edge cases you’re missing.
Are there cases where “to value to javascript” is not available?
If yes, what are the alternates for the same
The alternative for this use case would be asking your engineers to implement the addEventProperties API.
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.