New Feature: Add JavaScript in Lightboxes to Maximize Marketing Automation Efforts

You can now add JavaScript to Digioh lightboxes to maximize your marketing automation efforts. A simple embedding of a code snippet means you can now:

  • Track lightbox events with Google Analytics,
  • Use pixel-based retargeting to recover lost conversions,
  • Incorporate lightboxes into your conversion tracking software, and
  • Use A/B testing to identify high-converting lightboxes

Track Lightbox Events With Google Analytics

You’re already using Google Analytics to track traffic and behavior on you website, but wouldn’t it be great if you could do the same with your lightboxes? Well now you can by using Google Analytics Event Tracking and adding some JavaScript code to the lightbox you want to track.

Unlike Screen Tracking, which tracks traffic and behavior on entire web pages, Event Tracking allows you to measure how visitors interact with individual elements on the page. For example, you can track how many visitors are opting in to a coupon offer by inserting the right code into the offer’s lightbox. This causes the lightbox to send an event to Google Analytics every time the lightbox is submitted. You can then combine tracking of this event with Ecommerce Tracking to create a Conversion Goal that measures how many coupon opt-ins are turning into paying customers.

Use Pixel-Based Retargeting to Recover Lost Conversions

You can now embed a simple piece of JavaScript code (known as a “pixel”) in a lightbox that creates a cookie to track anonymous visitors after they’ve dismissed the lightbox and left your site. As the visitor browses other pages on the web, this cookie notifies retargeting platforms to serve specific ads. The goal is to recapture the attention of these visitors so they return to your site and become customers.

Integrate Lightboxes With Your Conversion Tracking and Other Marketing Automation Software

You can now incorporate Digioh lightboxes into sales funnels tracked by conversion tracking software like Kissmetrics and Mixpanel by embedding the vendor-provided code. This helps you manage your funnel from end to end with a single tool while maximizing your marketing automation channels.

The new feature also allows you to embed Google AdWords codes to see how keywords are converting by measuring opt-in rates of lightbox traffic driven by specific keywords. For example, you can create a landing page with an exit intent lightbox and drive traffic to the page with the keywords “stylish shoes” and “elegant shoes.” When someone opts in to your lightbox, Google AdWords is notified so you can mark the opt-in as a conversion as well as see which particular keyword was the driver.

You can also embed JavaScript code in your lightboxes in order to import lightbox analytics into email marketing software such as MailChimp and Constant Contact. This allows you to track email sign-up and email campaign conversion rates together using a single tool.

Use A/B Testing to Identify High-Converting Lightboxes

Add custom JavaScript to your lightboxes to control how they are deployed. For example, you can configure a lightbox so it is displayed to only 50% of your traffic. This allows you to measure conversion rates with and without the lightbox, or to compare the conversion rates of two different lightbox designs (A/B testing).

Interested in trying out the new feature?

This new feature is by request only. If you’d like to give it a try, contact Digioh Support. We’ll give you the right permissions and get you started with all the help you need.

Featured Image Credit: Photo by Rob Brewer / CC BY-SA 2.0

About Cecilia Farell

Cecilia Farell is a freelance writer living in Toronto, Canada. She does content marketing for Digioh and blogs regularly on inbound marketing, lead generation and conversion optimization. Follow Cecilia on Twitter @ceciliafarell.

  • Vincent Biggerstroft

    It’s really usefull