Chat widget like intercom in Vue

I’m building a product similar to Intercom live chat widget (tawto, drift, crisp etc). Basically, what it will do is add a widget to users website and then render a chat box (in simple words). I have already build chat box in Vue.
I also wrote which will load Vue app using IFRAME SRC but in src I have added dynamic id based on customers.

How can I access id in Vue app so that I can make api call to server to get customer default data?

Please provide code related to your issue. Without it, it’s hard for us to help. You can refer to our guide on asking for help for more information. Thanks!