# Show or Hide your form based on UTM tags

UTM tags are a snippet of text you can attach to the end of a URL in order to
track a source, medium, or campaign. Tracking the UTM tags will tell you where
your users are coming from and what campaign brought them to your site.



Please go to Settings > Targeting and click on the + Add rule button. Select UTM
Tags from the dropdown list.









In the above example, we added a rule under Hide for. So, if a user visited your
website from an email campaign that you ran and the URL was:

yourwebsite.com/link?utm_source=email_campaign

then the form will be hidden for such a user. You can add other types of UTM
tags from the dropdown list. If multiple UTM tags are specified, then the form
will be hidden when both UTM parameters are present in the URL.



The same rule can be added under Show for as well.



Note



This setting is only available for the form when it is used as Widget. It is not
applicable when used as Embed or Link.



Tip



Don't forget to publish your changes
[https://collect.chat/help/article/1065-publish-the-chatbot] before testing.