Help Center

Everything you need to know about getting started with Beamer

How are segments combined in Beamer? Can I use AND and OR? 

In Beamer, segmentation allows you to target specific users with posts, ensuring that the content is relevant to the audience you want to reach.

As of now, Beamer supports two types of segmentation:

  • Basic segmentation
  • Advanced segmentation

Basic Segmentation (Default OR Condition):

Basic segmentation allows you to display specific Beamer posts to users by passing segment values in the filter parameter of your Beamer embed code.  It operates by default using the OR condition.
This means:
If you assign multiple segments to a post, the post will be displayed to users who match at least one of the segments.
It enables broader targeting, as users only need to meet any one of the criteria.
Note: Basic segmentation is available from the PRO subscription plan only.

How to Create a Basic Segment:

1. Pass segment values in the filter parameter.
In your Beamer embed code, you specify which segments (filters) the current user belongs to by passing them in the filter parameter.
Example Code:

<script>
var beamer_config = {
product_id: "YOUR_PRODUCT_ID", // Replace with your Beamer product ID
filter: "admin;test", // Replace with the user's segments
};
</script>
<script src="https://app.getbeamer.com/js/beamer-embed.js" defer></script>

Replace YOUR_PRODUCT_ID with your actual product ID.
Replace “admin;test” with the segments applicable to the current user, separated by semicolons ;
For detailed instructions, please refer to our guide: How to Use Segmentation

Select Segments in Posts:
When creating or editing a post in the Beamer dashboard:
1.Go to the Post Editor:
2.Click on “Create Post”
3.Assign Segments to the Post:
4.In the “Segment filters” field, enter the segments you want to assign to the post.

Example: Type admin;test to assign both segments to the post.
Note: Use semicolons ; to separate multiple segments.

Assigning segments in the post editor:
When creating or editing a post in your Beamer dashboard, you can assign one or more segments to it.

Example: Assign the segments admin and test to a post.

Understanding the OR Condition:
Multiple Segments: If you assign multiple segments to a post (e.g., admin and test), users who match any of those segments will see the post.
Example:

  • A user with the admin segment will see the post.
  • A user with the test segment will also see the post.
  • A user with both admin and test segments will see the post.

This OR condition ensures that your content reaches a broader audience who meet at least one of the criteria.

Advanced Segmentation (AND & OR):
Advanced Segmentation allows you to create complex segments directly in Beamer using your user data. It supports both AND and OR conditions, enabling you to target users who meet specific combinations of criteria.
Features:

  • Create Segments from User Attributes: Use standard and custom user attributes to build segments.
  • Combine filters with AND/OR logic: define precise targeting conditions.
  • Ideal for precise targeting: Reach specific user groups based on detailed criteria.

Note: Advanced Segmentation is available in the Scale and Custom subscription plans.

Access the Users Tab. Click on Users create segmentation, and add filters or pass custom user attributes via script.
For more details, please check out our comprehensive guide: Advanced Segmentation Guide – Custom User Attributes »

 

This article is part of our FAQ (Frequently Asked Questions). If you have a question that's not included in our Help Center feel free to contact our support chat by clicking the button at the bottom left corner of the screen.

Your Data Security and Privacy is our Priority.

At Beamer, we care about our customers’ data and this is how we protect it.

Read our Terms of Service

vpn_key Data Ownership

Your account and data belongs to you and will not be sold in any case. We can delete your account and data upon your request. Learn more chevron_right

lock Encryption

Beamer data is encrypted in transit (advanced TLS protocols and 2,048-bit keys or better) and at rest (using AES 256 encryption with integrity).

dns Access

Customer data is always backed up and uptime is over 99.9%.

workspace_premium GDPR

Beamer is GDPR Compliant and has the Data Processing Agreements in place. Learn more chevron_right

bug_report Penetration testing

Third party network, application and physical security tests are conducted regularly. Learn more chevron_right

Keep your users in the know!