# Show Messages based on URL query string

**URL:** <https://community.hubspot.com/t/show-messages-based-on-url-query-string/3854>\
**Category:** HubSpot Ideas\
**Tags:** conversations-inbox\
**Created:** [November 9, 2017, 1:53pm UTC](https://community.hubspot.com/t/show-messages-based-on-url-query-string/3854 "2017-11-09T13:53:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lukas](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/lukas/32/43030_2.png) [@lukas](https://community.hubspot.com/u/lukas)\
**Post date:** [November 9, 2017, 1:53pm UTC](https://community.hubspot.com/t/show-messages-based-on-url-query-string/3854/1 "2017-11-09T13:53:17Z")

</div>

We’d like to use the chatbox (Messages) as our main call to action for all business communication.

For this, it would be very helpful if we could use query strings in the URL in the “Display on” field of Messages settings.

Sample use case: we could show or not show a different livechat based on the source of the users. We could add UTM to the links in our newsletter, blog, mails etc. and show a fitting message based on those query strings.

[domain.com/page?utm=newsletter](http://domain.com/page?utm=newsletter) → show Message A

[domain.com/page?utm=blog](http://domain.com/page?utm=blog) → show Message B

---

<div class="post-metadata">

**Author:** ![clara\_martinez](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/clara_martinez/32/29368_2.png) [@clara\_martinez](https://community.hubspot.com/u/clara_martinez)\
**Post date:** [November 15, 2017, 8:28am UTC](https://community.hubspot.com/t/show-messages-based-on-url-query-string/3854/2 "2017-11-15T08:28:15Z")

</div>

Yes, this would be definitely something we would love to use in Messages.

---

<div class="post-metadata">

**Author:** ![hroberts](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/hroberts/32/52294_2.png) [@hroberts](https://community.hubspot.com/u/hroberts)\
**Post date:** [June 5, 2018, 8:41pm UTC](https://community.hubspot.com/t/show-messages-based-on-url-query-string/3854/3 "2018-06-05T20:41:12Z")

</div>

This is now an option! Check out the new targeting options.
