Closed softmarshmallow closed 3 years ago
Using Measurement api seems to be like a approach.
Could not make it work. cannot find information about what app_instance_id
was. (cannot retrieve it from web)
via gtag api won't work either.
Found the solution i think.
https://ga-dev-tools.appspot.com/ga4-event-builder/
here, we can test the analytics4. which app instance id was not required.
Also tested with firebase app id
Done by hosting the plugin to web.
Seems like specifying app_instance_id
is mandatory. Am I missing something?
At some point. I gave up this approach having analytics directly in figma plugin iframe. Instead, i hosted the plugin ui as a general website with external url with indexeddb, + (other apis available) which is best for using existing analytics services without any unexpectations ;)
Supporting GA seems like a possible feature looking at a "Rename It" Plugin.
Approaches
References
Working branch