Skip to main content
Robert_Audroue
Apr 15, 2021 6:34 PM UTC
Question

Sharing analytics via API or embed code?

Are there any plans to allow access to Figma analytics data via the Figma API, or allow analytics info to be embedded into another web app for easier sharing?

This topic has been closed for replies.

19 replies

tank666
Apr 15, 2021 9:09 PM UTC

Yes, the Figma team wants to add plugin analytics and error reporting. It is written about it here: What's Supported · Figma Developers

UX/UI designer. Figma expert. Creator and developer of plugins and widgets for Figma and FigJam. Check out my resources in Figma Community: figma.com/@tank
Cristiano_Rastelli
Apr 16, 2021 7:58 PM UTC

A couple of days ago I did a test: since the Figma Analytics panel is nothing more than a “web view”, you can see in the network panel of the Figma App console the http requests.
There is a specific URL that can be called: https://www.figma.com/api/design_systems/component/[COMPONENT_KEY]/file_usage?org_id=[ORGANIZATION_KEY]&fv=4 and as returns a JSON response (as soon as you are logged in) with the data that you would see in the analytics panel for the corresponding row of that component.
I want to test next week if, for example, it can be called within a plugin (maybe in that case the user is already authenticated?) or via Node script (to be integrated with other Figma API calls). What I want to check if authenticating via API token works for this URL.

Rowan
Sep 14, 2021 1:44 PM UTC

I’m guessing there’s been no work on Library analytics data via the API?

Fonda_LaShay2
Dec 13, 2021 7:01 AM UTC

Any news on this? 🙏 I would also love to have it!

Amy_Coates
Feb 15, 2022 6:40 AM UTC

This would be very useful

Kelly_Santo
Mar 15, 2022 5:29 PM UTC

+1 for this

Emily_Holcomb
Apr 12, 2022 9:43 PM UTC

+1 (and a team of 6 more) for this

ClaraP
May 31, 2022 8:24 AM UTC

+1 for this

Emily_Holcomb
Jun 22, 2022 10:13 PM UTC

Please improve the analytics so we can do this, ya’ll! Please.

Dimitrie1
Jun 25, 2022 5:51 PM UTC

For context to inspect a Figma library files data:

https://www.figma.com/api/dsa/library/[LIBRARY ID]

https://www.figma.com/api/dsa/library/[LIBRARY ID]/published_components?start_ts=[EPOCH/UNIX TIME STAMP]&end_ts=[EPOCH/UNIX TIME STAMP]

Use https://www.epochconverter.com/ (make sure time between is 30,60,90, days or year

Unsure as of now how to get this into a curl command I can work with ^^ cc: @Cristiano_Rastelli