On site
On site
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Boost Engagement with Flashing Tab Notifications

Reclaim attention when users switch tabs by flashing a custom browser-tab message tailored to defined and anonymous visitors.
Goals
Improve conversion and sales
Improve personalization and the customer experience
Improve deliverability and engagement
Industries
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Tags
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Description

Bring distracted shoppers back to your site at the exact moment their attention drifts. This lightweight tactic listens for tab changes on high-intent pages like cart and dynamically flashes a short, contextual message. Defined users see a friendly reminder tied to their session, while anonymous users receive a subtle nudge that sparks curiosity. With minimal setup, you increase session depth, reduce abandonment, and lift conversions without adding friction.

Implementation Effort

Impact on a goal

Assets

Today 9:41
9:41
now
Automation
Today 9:41
9:41
now
"Send code" for defined users
Today 9:41
9:41
now
"Send code" for anonymous users
Outcome
Increased on-site engagement and session depth
Reduced cart and session abandonment
Higher return-to-tab rate and improved conversion

Detail user scenario

When a visitor lands on a target page that includes “cart,” the system initializes a pixel-based script to detect tab visibility changes. If the user switches to another tab, the browser tab title alternates to display a short message; defined users see “👋 Still thinking about your cart?” while anonymous users see “🛒 Psst… your cart misses you!”. The message is delivered via the Send code action with Append to HTML set to false and custom handling in the User.com widget. Global variable code_pixel hosts the script, and the automation controls when and where the flashing message triggers.

Step-by-step

  • 1
    Target page detection: On pageview, the automation checks URL context for “cart” and confirms the visitor’s state using the email attribute to determine whether the user is defined or anonymous
  • 2
    Script injection via Send code: The module “Send code” loads the global variable code_pixel with Append to HTML = false, removing any IMG elements and using a custom handler in the User.com widget (including an optional onPayloadReceived in civchat)
  • 3
    Tab visibility listener: The script listens for visibilitychange; when the user switches away, it alternates the document.title to a short, attention-grabbing message
  • 4
    Personalized message variant: Defined users see “👋 Still thinking about your cart?” while anonymous users see “🛒 Psst… your cart misses you!”, ensuring relevant tone without exposing personal data
  • 5
    Graceful restore and controls: When the tab becomes active again, the original title is restored, and the flashing stops; frequency caps and page-level rules prevent overexposure

Detail user scenario

Step-by-step

  • 1
    Target page detection: On pageview, the automation checks URL context for “cart” and confirms the visitor’s state using the email attribute to determine whether the user is defined or anonymous
  • 2
    Script injection via Send code: The module “Send code” loads the global variable code_pixel with Append to HTML = false, removing any IMG elements and using a custom handler in the User.com widget (including an optional onPayloadReceived in civchat)
  • 3
    Tab visibility listener: The script listens for visibilitychange; when the user switches away, it alternates the document.title to a short, attention-grabbing message
  • 4
    Personalized message variant: Defined users see “👋 Still thinking about your cart?” while anonymous users see “🛒 Psst… your cart misses you!”, ensuring relevant tone without exposing personal data
  • 5
    Graceful restore and controls: When the tab becomes active again, the original title is restored, and the flashing stops; frequency caps and page-level rules prevent overexposure

How to implement it?

Implementing use case automation involves several key steps and tools. Here's a comprehensive ressources to get you started:

Used Modules

Pop-Ups

Collect information from your visitors and navigate them on the website.

SMS Messages

Automate SMS delivery based on user actions or specific conditions.

Push Notifications

Delivers personalized notifications to users of your website (webpush) or app (mobile push).

Landing Pages

Easily design and customize landing pages that convert visitors into leads, optimizing the journey from click to action.

Prerequisities
Step by Step Guide
Written by

Read the guide
Recommended data structure
User Attributes
User attribute is a named data field that describes a specific property of an user stored on its profile and used for segmentation, personalization, reporting, and automation.
Attribute name Attribute type
email (standard) string
Global variables
Global Variable works like a Dynamic Content that you create. They allow you to simultaneously change content of your communication to suit your Business needs.
Global variable name Global variable type
code_pixel string
No items found.
Join others who leveraged this use-Case
No items found.
Warning
Things to take into consideration when leveraging this use-case
Implement scripts using Append to HTML = false and custom message handling in user.com widget
  • add onPayloadReceived function in the civchat object
  • remove IMG elements from the send code modules
  • turn Append to HTML to false
Read more

Discover the Perfect Use-Case for Your Company

Don't waste time on repetitive tasks. Let automations handle it.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
You may also be interested in

Take it on the next level...

Creative Assets like (ready HTML)
Code Snippets
Automation templates
Recommended Data Structure
Code Snippets
Cheat Sheet
Unlock the full Use-Case

Discover the Perfect Use-Case for Your Company

Don't waste time on repetitive tasks. Let automations handle it.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.