Blogs Home

Site Personalization with Customer Information: Made Easy with Blotout

July 8, 2025

Site Personalization with Customer Information: Made Easy with Blotout

Modern users expect personalized experiences. From tailored greetings to product recommendations, personalization builds loyalty and improves conversions.

But the challenge is clear: how do you connect analytics data, user sessions, and CRM insights into real-time, actionable personalization without complex infrastructure?

With Blotout, marketers and developers can easily stitch together site analytics with customer-facing experiences, while maintaining a long-lived user identity attributed to every event.

In this post, we’ll walk through how EdgeTag’s SDK can power real-time personalization with practical code examples.

Why Personalization Matters in Modern Marketing

Personalization isn’t just about greetings—it’s about connecting past behavior with future experiences. Done right, it leads to:

  • Higher customer engagement
  • Increased conversions and order values
  • Stronger loyalty from returning users

Blotout bridges this gap, allowing websites to act on customer information dynamically.

Meet Blotout: Connecting Analytics and Customer Experiences

EdgeTag’s SDK provides a ready method, which initializes once the tag loads and makes customer/session information available.

edgetag('ready', (parameters: InitParams) => {  /* code here will run once the tag is initialized */})

The parameters provide details about the user and session:

  • destination: The tag’s endpoint context
  • userId: Unique ID of the user
  • sessionId: Session identifier
  • isNewUser: True if this is the user’s very first visit
  • isNewSession: True if this is the start of a new session


Greeting New vs. Returning Users

With just a few lines of code, you can personalize greetings:

edgetag('ready', ({ isNewUser, isNewSession }) => {
  if (isNewUser) {
    window.alert('Hello and welcome to our shop! Have a look around.');
  } else if (isNewSession) {
    window.alert('Welcome back! We have new items in stock for you.');
  }
});

  • First-time visitors see a welcome greeting
  • Returning users (new session) see a tailored “welcome back” message

Persisting First-Visit Banners Across Sessions

Want to show a persistent banner during a first visit across multiple page loads? EdgeTag makes it possible using localStorage combined with the sessionId.This ensures the banner shows consistently during a first session, but not on subsequent visits.

Storing and Retrieving Custom Properties

EdgeTag’s ID graph allows storing user-specific data for personalization.

Example: Allergens for a Food Shop

const allergens = ['eggs', 'gluten', 'dairy']

edgetag('data', { allergies: allergens.join(',') })

Later, this can be retrieved with:

const getData = (keys) => 
  new Promise((resolve) => {
    edgetag('getData', keys, (data) => resolve(data));
  });

const { allergies } = await getData(['allergies']);

const allergensArray = allergies?.split(',') ?? [];

👉 Use cases include filtering products, tailoring recommendations, and adjusting search results automatically.

Driving Loyalty with Returning Customer Flows

EdgeTag also integrates with CRM data, enabling different flows for new vs. returning customers.

Example: Show a coupon popup for returning customers:

edgetag('ready', async ({ isNewUser, isNewSession }) => {
  if (!isNewUser && isNewSession) {
    const { isNewCustomer, emailExists } = await getData([
      'isNewCustomer',
      'email'
    ]);

    switch (isNewCustomer) {
      case 'true':
        showNewCustomerFlow();
        break;
      case 'false':
        showReturningCustomerFlow();
        break;
      default:
        if (!emailExists) {
          showSubscribeToNewsletter();
        }
    }
  }
});

This allows different site experiences for:

  • First-time visitors
  • Returning users with no purchase history
  • Loyal, repeat customers

Beyond the Basics: Building Rich Personalization with EdgeTag

EdgeTag isn’t limited to greetings or coupons. Its SDK and ID graph unlock:

  • Dynamic onboarding flows
  • Custom content recommendations
  • Contextual promotions and offers
  • Cross-device personalization using long-lived IDs

FAQs: Site Personalization with EdgeTag

Q1: Does EdgeTag require coding skills?
Minimal coding is required. Developers can implement personalization with simple SDK methods.

Q2: Can EdgeTag work with existing CRMs?
Yes. EdgeTag integrates with CRM data to trigger personalization flows.

Q3: What’s the benefit over cookies/localStorage?
Unlike local-only storage, EdgeTag provides a persistent user identity across sessions and devices.

Conclusion: Use What You Already Know About Your Customers

Your site already collects valuable signals—EdgeTag makes it easy to put them to work. Whether it’s greeting first-time visitors, tailoring product recommendations, or rewarding loyal customers, personalization drives better outcomes.

With EdgeTag, you don’t need heavy infrastructure—just a few lines of code and the customer data you already have.

👉 Ready to build privacy-first, personalized user journeys? Explore how EdgeTag can transform your site experience today.