« View all blog posts

Making Google Analytics insights actionable with a CDP

Analytics is the cornerstone of every marketing stack, right? But a simple view into web metrics isn’t enough to build a personalized web experience around.

Having a method to report and monitor behaviors in any channel is obviously a critical step in successful marketing. However, there are two enormous gaps where most analytics tools fall short:

  1. Attributing unexpected behaviors to campaign(s).
  2. Empowering direct action on either a user or segment level.

In the first part of this series, we dive into Google Analytics and show how Lytics fills those gaps.

Google Analytics + Lytics

Let’s say, hypothetically, I’m an email marketer and just finished deploying a big campaign.

Now, all I have to do is wait a week or so to build a report of opens, bounces, clicks, site traffic, and conversions. Up till now, this has worked well. It has allowed me to cut costs, increase conversions, and all that good stuff.

But what if that's no longer enough? What if my competitors are clawing at my market share because I've missed something? What if I'm only tracking one narrow slice of what's going on with my customers?

What if a user never clicked directly in the email, but still converted, and I have no idea who that person is? What if a user only read the subject line before going directly to my site and making a purchase?

Heck, what if half my users checked the email on their phones and then converted on their desktops?

These “what-ifs” are endless, difficult to identify, and absolutely critical in understanding the full impact of your marketing campaigns.

And unless you're using a CDP like Lytics to track customers across all your touch points, you're probably missing a lot of that what-if data.

So, how does Lytics complete the picture, tell the story to all your other marketing channels, and, most importantly, allow you to take your next logical marketing action on the individual or group level in real time?

Read on to find out.

The Lytics JavaScript tag

Implementing the Lytics JavaScript tag is pretty simple. Just copy and paste a few lines of code onto your site or into your favorite tag manager, and you are ready to roll.

<script src="http://c.lytics.io/api/tag/[YOUR_ACCOUNT_ID]/lio.js"></script>

The heavy lifting this tag does, however, is anything but simple. Let’s take a closer look.

Along with allowing valuable data to be passed into Lytics on the fly (we’ll cover that in another article), our JavaScript tag acts as the hub for web-based integrations.

Every time a user visits your site, we identify who they are based on what we know about them from other data we’ve collected. It could be a cookie we create, a user ID that you’ve set up, or a variety of other methods covered in our documentation.

What’s important is once that visitor has been identified we return their full cross-channel profile in real-time to be used on your site.

"data": {
	"accountids": [
	"app_visitct": "267",
	"emaildomains": [
	"app_lastvisit_ts": "2015-10-05T23:09:18.178Z",
	"user_id": "23462lk234himfake24234kh234kh",
	"lastvisit_ts": "2014-09-30T11:02:00Z",
	"cm_lastopen_ts": "2014-09-30T11:02:00Z",
	"city": "Portland",
	"content": "something_fancy",
	"cm_listids": [
	"devices": {
	  "IOS": "71",
	  "desktop": "2779"
	"utm_mediums": [

... and more.

Likewise, tapping into this profile is what triggers many of our built in integrations, such as Google Analytics.

What are Lytics segments?

Before we get back to Google Analytics (and oh, we will), let’s define Lytics segments so we’re all on the same page moving forward.

Our segments are special. They aren’t built with a single channel or usage in mind. Instead, they are a way to describe a user on a granular level across all channels.

They can also be used to group users who have similar profile information. For instance, we can identify all users that have clicked an email in the last 30 days. This is useful for marketers that want to gauge a sense of urgency with their audience base and respond with a timely campaign.

Improving Google Analytics 1 Improving Google Analytics 1

Having segments defined in Lytics is critical in bridging the user information gaps between your tools. These segments allow marketing teams to identify trends in Google Analytics and then respond by deploying a marketing campaign to that exact same segment.

There’s no need to attempt to recreate segment logic individually in each tool when you use Lytics.

What are Google Analytics custom dimensions?

Custom dimensions are built into Google Analytics and allow you to create a variable or “dimension” that programmatically stores values that describe custom attributes of a user. You can use this feature to segment or filter out data within your favorite reports in Google Analytics.

Improving Google Analytics 2 Improving Google Analytics 2

For our integration, we create two custom dimensions. One dimension stores our unique identifier, and another stores a comma-separated list of segments that can be accessed within Google Analytics.

Example: Capturing site visit behavior by user profile

With all of the above in place, the magic happens as soon as a visitor hits the site.

Improving Google Analytics 3 Improving Google Analytics 3

After a user has been identified, we pull their profile, pass the segments to Google Analytics, and enhance your ability to accurately report and uncover behavior-rich user insights to influence and improve your marketing.

Improving Google Analytics 4 Improving Google Analytics 4

Turn what-ifs into opportunities for web personalization

With Lytics, you sync a behavior-rich segment with your favorite email marketing tool and deploy a campaign. That same exact segment information is shared with Google as customers hit your site regardless if they opened, clicked, searched, or went to a bookmark.

Now you have the ability to get a full picture of what impact that campaign had. What’s more, you can start to understand user behavior patterns and adapt to them by providing deeper, resonant web and brand experiences.

Maybe you uncover better channels for communication or better timing for the campaign. Can you deploy your emails individually so they hit the inbox of a user at the precise time they are most likely to open it? (Spoiler alert: You can with Lytics.)

Connecting Lytics and Google Analytics gives you a clearer look at user behaviors. Any marketing team that wants to relate to customers and users based on this kind of context needs this type of tool.

Curious to hear how Lytics can help you get a clearer picture through Google Analytics? Chat with an expert now.

Based on your interests, you might also enjoy...

Explore data-driven marketing with us

Sign up for Lytics news, events and product updates straight to your inbox