Back to the Shapespark home page

Pass query parameters in scene url

How to pass query parameters in scene url?

Could you explain what what would you like to achieve? You can append query parameters to the scene URL like this: https://3d-meeting.shapespark.com/lounge/?some-parameter=some-value but the parameters won’t have any effect.

We need pass some kind of information so that we can track which user came in to view the scene. We tried using the method which you @jan mentioned but we got no success. So Is their any specific way to pass the values in query parameters as we are loading a scene in iframe in react js component?

I’m not sure, if you add such parameters to the iframe embed code, they normally should be included in the URL. Could you console.log(window.location.toString()) to see what is the actual URL?