GMetri supports receiving data for any experience using variables.
You can use query params to send data to a GMetri Deployment using the following format:
https://xxx.gmetri.com/<deployment_slug>?var1=value1&var2=value2...
Eg:
https://xr.gmetri.com/my_metaverse?name=john&theme=blue&tries=7When passing complex values like URLs or tokens, make sure you encodeURIComponent the value to ensure special characters get passed correctly.
To use outside data in a GMetri experience using URLs, follow these steps
Add a custom variable to your experience in editor
Make use of that variable in your experience any way you want such as via text elements, rules etc./
Create a deployment and copy the deployment link. You will get the deployment link as https://xxx.gmetri.com/yyy
Add the variable you created as a query param to the deployment link as https://xxx.gmetri.com/yyy?textString=HelloMetaverse!
You'll be able to use the variable in any way in the experience.
Link for the following embed: You can update the query param and see different results for yourself.
