Using Messages API


#1

We are trying to set up Messages in the Angular app.
Is there any way to trigger the chat box to open on a specific page?
Currently, because messages rely on URL being tracked, due to how angular5+ routes the navigation, those events are not captured by the hubspot tracking code (which is also why the user who has gone to one url and went to the other won't see the chat if we only have /other in the configuration)


#2

Hi @alexincites,

There isn't currently a Messages API, so it's not possible to trigger the messages chat box programatically. I can totally see the use case for that, though; If you have the inclination, I would encourage you to check out the Ideas Forum on the HubSpot Community. There, you can create a post including your use case that product and other customers can see. I think this is a worthwhile use case, so I'll pass this feedback along internally as well (though the Community is the best way to make your use case visible).