Skip to main content
Skip table of contents

Website - In Page Campaigns

With a focus on AI-recommended content, Website-In Page campaigns enable you to configure placements, request recommendations filtered on resource attributes, and render the resources returned by Zeta AI. ZMP’s Website-In Page campaigns allow you to combine rule and model-based recommendations for your onsite campaigns. This added ability will help simplify the implementation of business rules for your creative placements.

These recommendations can be for products, articles, banners, or any content and are personalized on a 1:1 level for the person browsing the client’s website. Recommendations are powered by Zeta's powerful AI, which works to understand what types of products or content people are engaging with and for how long, in order to determine what else they may be interested in.

Reach out to Support for getting Rule-Based Decisioning enabled in order to get access to Website In-Page Campaigns.

From the menu on the left, navigate to Campaigns > Website-In Page. Click on New Campaign.

  • Name your Campaign and click on Next.

Rules Tab

You can define the different sets of rules across the different sets of placements using:

  • Properties

  • Segment Membership

  • Transient Attributes

Transient Attributes are attributes whose value is not stored in ZMP and can be passed in real-time at the time of requesting the recommendations. These can be some sensitive information of a customer or a dynamic value. Transient attributes can be created using APIs.

  • You have full flexibility to use your own combination of properties. (Play around with the branching as possible in the case of Audience Explorer)

The Rules interface also allows the incorporation of 'sub-rules' for each main rule. The primary distinction between Rules and their Sub-rules is that, in the case of Rules, evaluation follows a waterfall approach, which means that evaluation stops as soon as the audience criteria for the Rules are met, and eligible resources for qualifying rules are determined. However, all of the sub-rules are evaluated regardless of this.

Adding Sub-Rules to a Rule

1. Navigate to the Rules Tab of the In-page campaign

2. Toggle Make Rule Group on.

3. Start adding Sub-rules.

Placements Tab

The Placements tab allows you to define the different sections of the campaign page.

1. In the Placements tab, enter a Name and Description for your campaign.

2. Next, manually define the container tags on your website, enter them in the Container field or simply click on the Find Container button to visually select from the available container tags.

3. In the Display Options section, add the page(s) where you want to show or not show the placement content.

  • You can choose to Include all sub-pages from URL by toggling it on.

  • Once added, the green dot beside the URL shows that the page is included while a grey dot suggests that it won’t display the content.

  • Click on the collapse icon against the Display Options to view a summary of the pages added.

4. In the Rules section, add a rule (already defined from the Rules tab) and play around with its content and template.

  • In Content Strategy, User Interest is based on your past history and content you’ve earlier shown interest in, Alternative shows alternatives to the content you have, and Matching shows you content similar to yours.

  • In the Template Layout section, you can change the default design directly from the HTML or CSS snippets. You can also view the Template Library to explore more design options.

  • From the Integration Options dropdown, Replace Default Content will replace the website content with yours, Append Default Content will display your content after what is already present, and Prepend Default Content will show your content before the existing one.

  • Green ticks against the Select a Rule, Content Strategy, and Template Layout suggest that you have successfully defined the rule. Click on Add.

  • You can again click on + Select Rule to add more rules by defining them from the Rules tab.

  • Rules are cascading in nature. When multiple rules are added, if Rule #1 does not satisfy, it will test for the next available rule. You can drag-drop rules to change their priorities.

  • You can duplicate a rule.

  • You can click on the dot next to a rule in order to deactivate or activate it.

5. In the Default Content section, you can select a fallback option for when any of the rules are not satisfied. Under this condition, this preset will be shown.

6. Click on Save to activate the campaign.


Earlier, defining containers for personalized placements on site required the page elements on the site to be structured with unique identifiers for its Div elements. ZMP in-Page container now allows for a broader set of options and constructs that will enable a finer level of control in defining placements including the most common case of Div class-based identification for placements.

  • Use the in-Page container option for broader page-level query selectors that include the support for selecting the first Div identified based on class.

  • Use a CSS selector to qualify the first container on the page for your placement that uses the class that you specify.

Use via API Only

If you toggle the Use via API only on, you will be able to get recommendations via API without the need of implementing P13N tags. The API can be accessed using the placement name.

  • When this option is toggled on, there will be no requirement of Container and Template Layout.

Recommendation Strategy for a Rule

The recommendation strategy for a rule has been extended to include a "Custom" resource selection strategy, alongside the existing options such as User Interest, Alternative, and Matching. The custom option allows you to manually define the eligible resources or resource groups for the audience that qualifies under the rule, offering greater flexibility.

When utilizing the "Custom" Recommendation strategy, you have the following choices for selecting eligible resources for the rule. These resource selection options are also applicable to sub-rules.

Specific Resources

This option allows you to pick a particular set of resources, which is suitable for scenarios where users are knowledgeable about the eligible resources for a rule.


This option lets you define a set of filter criteria, based on the data associated with the resources, in order to determine the qualified set of eligible resources.

Resource Group

This option allows you to directly select a predefined resource group to determine the qualified set of eligible resources.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.