aframevr / aframe-inspector

:mag: Visual inspector tool for A-Frame. Hit *<ctrl> + <alt> + i* on any A-Frame scene.
https://aframe.io/aframe-inspector/examples/
MIT License
655 stars 203 forks source link

Support analytics when Editor is loaded on non-aframe.io sites #213

Closed cvan closed 5 years ago

cvan commented 8 years ago

Even http://localhost:*/http://127.*.*.*:* analytics, afaict, are not getting recorded. Needs to be designated for a server such as https://aframe.io.

This will require doing creating a hidden <iframe src="https://aframe.io/ga.html"> and then the parent window (the scene) would postMessage to the <iframe>'s content window, which would then dispatch the GA/UA events (from the correct domain).

This is how Potatolytics worked. There are probably some great npm packages out there.

ngokevin commented 8 years ago

I have it stood up on a temporary account on my email since I don't have access to our GA, it does record localhost.

Will add Potatolytics next week.

fernandojsg commented 8 years ago

@ngokevin do you have any updates on this? Is it working already?

larsbergstrom commented 7 years ago

@ngokevin Did the GA get moved over to the Mozilla GA account? Do you need help with that?

ngokevin commented 5 years ago

localhost is tracked ok