# detect smart rules in editor view

**URL:** <https://community.hubspot.com/t/detect-smart-rules-in-editor-view/82373>\
**Category:** CMS Development\
**Created:** [May 31, 2023, 3:25pm UTC](https://community.hubspot.com/t/detect-smart-rules-in-editor-view/82373 "2023-05-31T15:25:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [June 1, 2023, 5:11am UTC](https://community.hubspot.com/t/detect-smart-rules-in-editor-view/82373/2 "2023-06-01T05:11:48Z")

</div>

Hey, @michalo 👋 Welcome to the community! Thanks for your question. You are not missing a documented option. I agree with you, something like this would be useful. You’ll either need to add comments to your HTML where smart rules are added. Like this (a super basic example):

```lia-code-sample
<!-- SMART RULE: This page uses a smart rule to display different content to different visitors -->

```

Or you can manually check for it.

I understand this isn’t the alert you are looking for. And I don’t want you searching for an option that doesn’t exist.

Best,

Jaycee

---

_[View the full topic](https://community.hubspot.com/t/detect-smart-rules-in-editor-view/82373)._
