A legit/official way to pick a widget position?

New Member
1 0 0

Hi guys, 

I am building a shopify APP which will have a widget for user to install on their homepage. Need a way for user to specify the position of installed widget.

Is there a best practice way for doing this? Thinking about just let user to specify Div with classname/id.

And also saw other app has a popup window for position picker which has url like this: https://devshop.myshopify.com/?action=choose-element&token=ABCtoken

Is this a solution shopify provides? Also looking around answer, will update here.