How to manage domains and companies in Flook
Intended Usage: Managing Domains with Companies
In Flook, each Company represents a group of domains related to a single site or application. These domains could represent different environments for the same site, such as production, staging, and development.
For example:
- Production:
<a href="http://www.mysite.com/">www.mysite.com</a>
- Staging:
<a href="http://stage.mysite.com/">stage.mysite.com</a>
- Development:
<a href="http://dev.mysite.com/">dev.mysite.com</a>
- Go to Settings > Company.
- Add all relevant alternative domains for that Company (e.g., your production, stage, and dev environments).
- Configure your widgets to appear across any of these domains as needed.
Using One Company for Multiple, Unrelated Sites
Pros of Using One Company for Multiple Sites
- Shared Monthly Active Users (MAUs) Across Multiple Sites: All of your sites will share the same MAU quota, potentially helping you optimize your usage under one billing plan. If one site has lower traffic, the remaining MAUs can be used for other sites, maximizing value for your plan.
Cons of Using One Company for Multiple Sites
- No Ringfenced Widget Management: Managing widgets becomes less organized when multiple, unrelated sites are under one Company. There’s no clear boundary between widgets for different sites, which can lead to confusion when modifying or tracking changes.
- Single Billing Structure: Since Flook links MAUs to a single Company, all unrelated sites within that Company will share the same billing plan. This means you can’t separate costs by site or charge different departments/clients independently.
- Potential Conflicts in Element Matching: Flook’s widgets target specific elements on a page using CSS selectors and other matching logic. If your different sites share common HTML structures or element IDs, you might face conflicts where widgets display incorrectly or overlap across sites.
- Difficulty in Targeting Users Across Different Databases/Systems: User targeting in Flook relies on unique identifiers (UUIDs) to match users to specific behaviors. If you’re running multiple unrelated sites, user data will come from different databases or systems, making it harder to maintain accurate and actionable user segments.
- Reporting Challenges: Flook’s analytics and reporting are designed to provide insights for widgets across the domains within a Company. When using multiple, unrelated sites under one Company, it becomes challenging to isolate metrics for each site, which could skew the overall understanding of user engagement.
Recommendations for Best Practice
For the most efficient and clean management of your widgets and user experiences, we recommend creating a separate company for each unrelated site or product. This allows you to:
- Maintain organized widget management per site.
- Ensure clean separation of user tracking and reporting.
- Manage billing and MAUs specifically for each domain.
If your sites are related or are different environments of the same site, you can comfortably group them under a single company. However, for completely unrelated websites, setting up separate companies within Flook will make it easier to manage your widgets, users, and billing independently.
By following these guidelines, you can ensure that Flook's powerful widget capabilities are used to their full potential, delivering the right experience to the right users while maintaining clarity and control over your management and billing processes.