Home Insights Articles Using geofence marketing & Bluetooth beacons to improve offline sales

Using geofence marketing & Bluetooth beacons to improve offline sales

Using geofence marketing & Bluetooth beacons to improve offline sales

Geofence marketing: Pinging mobile devices to increase store traffic

Every modern smartphone has a Bluetooth transceiver that supports BLE (Bluetooth Low Energy) protocol, and has built-in, high-accuracy location services.  This means that a user’s mobile device can be tracked, enabling retailers to, for example, broadcast a message when said user comes near their store. This capability allows retailers to engage their customers in a personal and meaningful way, while they are in the physical proximity to make a purchase. 

However, GPS-based geolocation has certain limitations: 

  • Doesn’t work when a user is indoors.
  • Doesn’t work when a user is surrounded by tall buildings.
  • Heavily impacts battery life.

Creating geofences and using beacons to transmit messages can help resolve these issues. 

A geofence is a sophisticated method for becoming aware that a user is near a location of interest. By creating a geofence, retailers are able to take advantage of WIFI and Cell positioning, without having to depend on GPS-based geolocation. Together with beacons, the geofence can serve to create a tailored marketing communication eco-system that drives in-store engagement and sales

How geofencing works

Geofencing technology is typically represented by a virtual circle drawn around a point of interest on a map. Whereas, a smartphone’s OS combines geolocation information from several different sources: Wifi, Cells, and GPS. When a user has location services turned on, their device automatically activates the GPS when they come near a geofence zone. This enables the device to know whether a user has crossed the fence or is just in the process of crossing it.

geofence with enter, dwell, and exit triggers

In the case of a retail store the point of interest is the main entrance. When a user comes into range, three events can be generated:  

  • Enter – when a user approaches the geofenced area
  • Dwell – when a user stays within the geofenced area, and
  • Exit – when a user leaves the geofenced area

These events trigger certain actions in the retailer’s mobile app. 

Likewise beacons work in the same manner via Bluetooth. Every BLE beacon has a unique identifier (UID) that it transmits to a user’s smartphone. The illustration below shows how a Bluetooth low energy beacon interacts with a retailer’s mobile app on a customer’s device.

Bluetooth low energy beacons can broadcast to almost any Android or iOS device

So, when a user is near the store, the geofence helps to entice them to enter the store with an incentive, promotion or otherwise. While in the store, beacons take over the interaction. Together, the geofence and beacons create a meaningful in-store experience for customers. 

A geofence marketing and beacon use case

The following use case illustrates how beacons and a geofence marketing strategy can bring customers into a store, suggest purchases, and provide personal interactions, including Goodbye and Thank You messages.  

Let’s take, for example, a department store located in Cisco, California. The store is 10000 sq ft (929 ).  A geofence has been created for this location, with set entry and exit triggers. Seven beacon devices are situated inside, within different departments. The geofence and beacon devices are configured to interact with a retailer’s mobile application installed on the customer’s device. There are four basic customer interactions monitored by the beacons within the geofence:

  • Walk by – the customer walks by the store
  • Enter – the customer enters the store
  • Explore – the customer explores product items (and hopefully buys some)
  • Exit – the customer exits the store.

Below is the list of possible beacon and geofence generated events the user can experience both inside and outside the store:

Exampel of Geofencine marketing strategy: different messages are sent depending on whether the customer is in or outside the store

Now let’s look at this from the customer’s point of view. Imagine that you are walking by a grocery store and your mobile device reminds you to buy food for an upcoming holiday picnic. While you are in the store, it prompts you with offers and deals from the nearest department.  The app also has helpful features like inventory notes, a “where to find it” shop assistant, and a mobile wallet. Suddenly, not only did you remember to do your groceries, you also were able to do them quickly and efficiently. Not to mention that you managed to save money thanks to personalized in-store offers available only via the app.

Reference architecture

Now that we understand how the geofencing and beacon system should perform from a  user’s perspective, let’s delve into the backend machinery that makes it happen:

Before we begin, it’s important to keep in mind the following:

  • The user’s mobile device doesn’t keep geofence and beacon configuration locally. The device is considered a thin client. This means that all the configurations and marketing campaigns will be managed on the server side.
  •  The time span between the detection of a beacon or geofence by a user’s mobile device and the time when it receives a message is negligible.

Step one is to design a server application capable of storing the configuration of and managing all geofences and beacons in the store.  The second step is to ensure the appropriate services for delivering messages to both Android and iOS platforms have been chosen. The two most common APIs for this are APNS (Apple Push Notification Services) and FCM (Firebase Cloud Messaging).

The main system components are:

  • Mobile application(s) running on the Android and iOS platforms
  • Server Application
  • APNS and FCM services

The diagram below illustrates how the system components interact:

How a beacon and HTTPS server interact with the customer’s mobile device

As shown above, the mobile application communicates with the server application when it detects a beacon; registering events from the geofence. In turn, the server application manages data for the beacons and geofence zones, and executes the business logic related to them, such as marketing campaigns, promo messages, etc.

The following diagram shows how the system works in greater detail. The specific use case here is: 

  • The user has the retailer’s mobile application installed.
  • The store has its beacons configured to detect the user’s entry.
  • Detection of entry triggers a “greeting” message to be sent.
Reference architecture for transmitting real-time offers to the customer

Similarly, whatever event is configured can trigger a different action within the mobile app, depending on the use case linked to the beacon and geofence infrastructure. 

Conclusion

Beacons and geofencing are powerful tools for re-engaging customer loyalty and driving sales with in-store personalization and customization. Depending on the vision of a retailer, geofence marketing can be implemented to entice any number of customer interactions including personalized offers, flash sales, and other promotional campaigns.

Grid Dynamics has recently helped a major U.S. retailer implement a geofence and beacon program. It was the basis of a successful holiday promotion campaign that significantly increased traffic in the company’s “brick and mortar” stores. While client confidentiality keeps us from revealing this particular system’s results, a recent GeoMarketing article states Bluetooth low energy beacon systems can produce up to 5X return on investment. 

Please contact Grid Dynamics to speak with an expert in beacon and geofence system design and implementation.

Tags

You might also like

Exploding agent head with knowledge and user interfaces to represent adaptive UI validation
Article
AI agents are assembling adaptive UI. Here’s how validation needs to evolve.
Article AI agents are assembling adaptive UI. Here’s how validation needs to evolve.

User interfaces are no longer static. The industry is shifting toward adaptive systems where the interface is assembled at runtime. For decades, software was designed around fixed surfaces: a nav here, a hero there, content slots predefined by a designer. Users learned the interface. However, th...

Surreal portrait of a woman with headphones amid data and cloud motifs, illustrating AI-powered modernization.
Article
Enterprise AI modernization as a daily operating model
Article Enterprise AI modernization as a daily operating model

What does AI-powered modernization as a daily operating model look like? On Monday morning, your teams do not start by opening an incident queue. They start by reviewing a set of pull requests produced overnight by software agents focused on modernization. Each pull request is small. Each is tested...

EU AI Act compliance checklist with abstract red and blue background
Article
Are your UI application development processes compliant with the EU AI Act?
Article Are your UI application development processes compliant with the EU AI Act?

As of February 2026, the European Union Artificial Intelligence Act (AI Act) has transitioned from a legislative draft to the primary regulatory framework for software engineering in the EU. This landmark legislation is no longer a distant prospect; with prohibitions on unacceptable risks already i...

Conceptual image of a person surrounded by floating device screens, representing AI agents for UI design safely generating consistent user interfaces across web and mobile apps.
Article
AI agent for UI design: A safer way to generate interfaces
Article AI agent for UI design: A safer way to generate interfaces

Enterprise AI agents are increasingly used to assist users across applications, from booking flights to managing approvals and generating dashboards. An AI agent for UI design takes this further by generating interactive layouts, forms, and controls that users can click and submit, instead of just...

Spiral nodes against black background representing the WAVE framework for SDLC automation
Article
How AI brings a new WAVE of transformation to SDLC automation
Article How AI brings a new WAVE of transformation to SDLC automation

Today, agentic AI can autonomously build, test, and deploy full-stack application components, unlocking new levels of speed and intelligence in SDLC automation. A recent study found that 60% of DevOps teams leveraging AI report productivity gains, 47% see cost savings, and 42% note improvements in...

Multi-layered AI engineering advisor dashboard
Article
Solve the developer productivity paradox with Grid Dynamics’ AI-powered engineering advisor
Article Solve the developer productivity paradox with Grid Dynamics’ AI-powered engineering advisor

Today, many organizations find themselves grappling with the developer productivity paradox. Research shows that software developers lose more than a full day of productive work every week to systemic inefficiencies, potentially costing organizations with 500 developers an estimated $6.9 million an...

Vibrant translucent cubes and silhouettes of people in a digital cityscape, visually representing the dynamic and layered nature of AI software development, where diverse technologies, data, and human collaboration intersect to build innovative, interconnected digital solutions
Article
Your centralized command center for managing AI-native development
Article Your centralized command center for managing AI-native development

Fortune 1000 enterprises are at a critical inflection point. Competitors adopting AI software development are accelerating time-to-market, reducing costs, and delivering innovation at unprecedented speed. The question isn’t if you should adopt AI-powered development, it’s how quickly and effectivel...

Let's talk

    This field is required.
    This field is required.
    This field is required.
    By sharing, I consent to the use or processing of my personal information by Grid Dynamics for the purpose of fulfilling this request and in accordance with Grid Dynamics’s Privacy Policy. For more details about how to opt-out, please refer to the Privacy Policy and Terms & Conditions.
    Submitting
    quote icon

    We consistently turn to Grid Dynamics for our most complex challenges. Their Data Scientists and AI Engineers are top-notch—highly experienced and deeply knowledgeable.

    Sr. Engineering Director, global auto parts retailer

    Geometric composition with teal car wheel

    Thank you!

    It is very important to be in touch with you.
    We will get back to you soon. Have a great day!

    check

    Thank you for reaching out!

    We value your time and our team will be in touch soon.

    check

    Something went wrong...

    There are possible difficulties with connection or other issues.
    Please try again after some time.

    Retry