Integration

Implementing Custom Targeting Rule

Custom targeting rule is an interesting way to display a particular notification only to specific audiences on your site.

You can create notifications and show them in realtime depending on the customer’s sign up date, last login or purchased item, current shopping cart value, current plan, search items, selected items or usage metrics.

How to set up custom targeting rule?

To implement custom targeting rule, you just send keys and respective values via the javascript and filter those in the rules section while creating notifications.

Add this extra parameter in the javascript api,

notify_visitors.ruleData = {'key1' : 'value1', 'key2' : 'value2'};

In your dashboard, you can create a notification and assign “Custom Rule” in “Targeting Rules” section.

Use the same exact expressions which you passed in the javascript api.

Thats it! You are ready. This is just a one-time set up process.

For any queries, write to us at alliances+notifyvisitors@tagnpin.com

Siddharth

Share
Published by
Siddharth

Recent Posts

How to Choose a CDP for Omnichannel Personalisation | Practical Guide

Omnichannel personalisation isn’t a bonus anymore. For most brands, it’s now expected. Customers nowadays want…

3 hours ago

Dynamic Content Personalisation: Examples, Benefits & Implementation Guide

As customer expectations rise, content Personalisation has become an important factor in driving business growth.…

23 hours ago

AI Personalisation Engines: How the Internet Learns What You Want

Years ago, the internet worked the same way for everyone. You opened a website and…

2 days ago

How to Build a Multi-Step Customer Journey Using CDP & Marketing Automation

In today's digital world, customers are highly informed. Every purchase decision is based on strong…

4 days ago

Real-Time CDP: How It Works, Benefits & Use Cases

In today's world, customer data is more than abundant. However, the struggle to organise this…

5 days ago

CDP vs Marketing Automation: Key Differences Explained (2026 Guide)

Today, marketing success is all about how well a brand understands its customers. Single-channel marketing…

5 days ago