I’m an app developer. My app adds a section(block) on users page, for example Instagram feed.
When a user installs my app, I want to show him how their shop will look with this section(block) already on the page, without requiring any extra setup / save in customisation.
I’ve seen this functionality in another app, but I can’t remember which one and I can’t find any documentation about it.
In their app, when I click Preview , it opens the current main theme page and automatically adds this section in a demo mode, so block or card or button appears on preview but not on the real live production page.
This allows customer try out feature on his own page without installing anything
How can I do this? Is it possible?
Hi Vlad!
Sounds like you’re looking for the deep linking functionality:
If the merchant is happy with the preview, all they have to do is press ‘Save’ to add it to their theme.
Yes deep links can be a solution here for most of cases.
But it will redirect the user to customisation page, how do you think, is there is a way to do similar thing but on deployed theme page itself, not in customisation mode ?
Im trying to do this on deployed theme in preview mode because customisation has different restrictions for user’s camera.
Oh I see! Thanks for clarifying 
At the moment it’s not possible.
I’ll put in a feature request for this functionality, as I can see it can be useful for use cases like yours.
The best you can do is have the merchant duplicate the published theme, add your app to it, and preview it that way.
Actually, you might be able to achieve this with an app proxy:
Create a custom path that lets the merchant preview your app.