Locally’s Real-Time
Data Pixel
SwitchLive
Track local shopper engagement in real time with Locally’s data pixel. Gain invaluable insights into local shoppers to optimize wholesale strategies and advertising.
Locally’s SwitchLive is a client-side JavaScript event-tracking library designed to monitor user interactions with Locally’s interfaces, such as the Store Locator, Product Locator, Marketing API, and Locally Landing Pages. As users engage with these tools, SwitchLive emits events that brands can capture to gain insights into user behavior.
-
SwitchLive allows brands to:
Monitor User Interactions: Track how users interact with Locally’s tools in real-time.
Execute Custom Business Logic: Implement custom actions based on user interactions.
Collect and Analyze Data: Gather data on user behavior to inform marketing strategies and improve user experience.
By integrating SwitchLive, brands can enhance their understanding of customer engagement and make data-driven decisions.
-
SwitchLive emits events that can be:
Captured by the Brand’s Web Application: Brands can configure their applications to listen for and process these events.
Integrated with Analytics Tools: Events can be forwarded to analytics platforms like Google Analytics via tools such as Google Tag Manager (GTM).
This flexibility allows brands to direct the data to their preferred systems for analysis and action.
-
Setting up SwitchLive involves:
Enabling the Feature: Contact your Locally account manager to add SwitchLive to your subscription.
Integrating the JavaScript Library: Add the necessary script tags to your website’s embed code to load switchlive.js and switchlive-events.js.
Configuring Event Listeners: Set up listeners in your web application to handle the emitted events.
For detailed integration steps, refer to the Live Events Integration Guide. Additionally, if you use Google Tag Manager, you can follow the guide on setting up GTM to capture SwitchLive events. Overall, the integration process is straightforward, especially with the support provided by Locally’s team.
Trusted by Leading Brands
60M+
Monthly Shoppers
55k+
Connected Retailers
1,000+
Brands Using Locally
O2O Starts With Locally
Online-to-Offline is the number one way people shop. Get a complete overview of what shoppers are doing on your o2o tools with the Locally real-time data pixel.