> For the complete documentation index, see [llms.txt](https://because.gitbook.io/because/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://because.gitbook.io/because/the-because-platform/campaign-setup/interactive-blocks.md).

# Campaign Rules

## How to Use the Check Your Rules Tool: The TLDR Version

Creating a campaign that appears perfectly on your Shopify store involves more than just setting it up and hitting publish. To make sure your campaign displays exactly as you intended, the Because app offers a powerful feature called "Check Rules" within its Campaign Editor.&#x20;

This tool allows you to double-check that all the display rules you've set are working properly before your campaign goes live, ensuring it will appear on the right pages and for the right products.

### Quick Steps:

1. Check Your Display Rules: For example, if your campaign's display rule is set to show a badge only when a product belongs to a specific collection, you need to ensure this rule is correctly applied.&#x20;
2. Navigate to the "Check Your Rules" section in the editor.&#x20;
3. Paste the URL of the page where you want to test your campaign, then click "Check Rules," which will open the selected page in a new tab.&#x20;
4. Keep this tab open as you return to the Because app.&#x20;
5. Review the Results: Back in the Because app, you’ll see the results of the rule checker. Green check marks indicate that your rules are correctly applied.

## Check Your Rules Tool: The Full Deets

In this video we walk you through how to use the "Check Rules" tool in the Because app's Campaign Editor to ensure your campaign will display correctly based on the rules you've set.&#x20;

This tool allows you to preview and verify that your campaign will appear as intended on your Shopify site before it goes live.

By following these steps, you can confidently use the "Check Your Rules" tool to ensure your campaign is set up for success, avoiding any last-minute surprises when you publish.Add images, embedded content, code blocks, and more.

{% embed url="<https://youtu.be/8gNQFyNMdRo>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://because.gitbook.io/because/the-because-platform/campaign-setup/interactive-blocks.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
