Hello There!

Lorem ipsum dolor sit amet, consectetur adipiscing elit,

Is Your Tag Management the Wild West or Castle Black?

Majority of websites you visit (including this) are gathering data and loading content both in front of you and on the back-end. This is done through third party tags, which are fragments of code that can collect important analytics data for marketing and even provide frameworks for your prospects to write reviews. 

As these tags represent much of the page’s weight and are difficult to manage, they can cost a fortune to page load times, user experience, productivity and the overall bottomline.

At Tatvic we’ve observed that if you manage a large enough website: 

  • The tags are not configured on your website properly
  • There are unauthorised tags on your website
  • Tags are missing on your platform
  • There might be a case of duplicate tags too

Broken tags can lead to:

  • Broken paths on your website
  • Unauthorised access to your personal data
  • Slow page load
  • Inaccurate analytics data

It’s of utmost importance that you fix this. But with millions of instances of analytics and a ton of marketing tags on your website, where do you even begin?

Implementing a proper Tag Governance program, with the right solutions, is what you need. 

What do we mean by governance?

It’s exactly what you think - Control, authority, direction and oversight. This is what software programmers, developers, analysts want for their tags.  

It’s a discipline of data governance, aiming specifically on the data collected by digital marketing, analytics tags and sent over via network requests. 

It’s similar to tag management - a software powered discipline. In the way tag management relies on TMS, tag governance requires the use of a governance framework. 

What exactly can Tag Governance do?

Tag governance solutions can scan the network for requests sent through the websites and apps in various stages of development in order to point out tagging inaccuracies.

How?

Let’s go through the stages

tag governance stages

Tag governance solutions move around platforms scanning for network requests sent by the tags deployed. Whenever the data is sent by the tags, the tag governance solution takes the data and deciphers it onto its component values. These values are further checked against those predefined rules to see if they’re right or not

The companies deploying tags to their website or apps should ideally do it in early stages, as early as the development phase.

An ideal tag solution should be able to perform platform, web and app, scans within pre-production environments. Practising this can help your development team resolve the issues before the website or app even goes live.

A tag error is moving away from tagging best practices or firm’s predefined rules. When a tag management identifies any errors it notifies the relevant stakeholders.

Can you do it manually?  

Speaking theoretically - you can spot check the network logs in search of tagging errors but this process is highly inefficient and prone to errors. Manual checks are like the casual medicines you take, the benefits are there but they’re insignificant when the side effects hit. 

It’s a known practice to adopt automation and avoid cardiac arrest on your tagging deployments.

Afterall…

With the right solutions in place governing tags at scale gets easy. You’ll be able to trust your data, realise the ROI on the spend and do it more efficiently than doing it manually. 

DLAT-Tatvic

Tatvic has developed a solution, DLAT,  that encloses all the essential elements of an efficient Tag governance program. This is a cross-team, multi role effort, but will be worth it. 

Planning Stage

Instead of your team deploying tags randomly, you need a plan in place. This plan will document your needs - measurement and marketing strategy, giving an overview of what the tag is doing and why. 

This planning enables you to map your business questions against the variables that collect the data you need. The same thing applies to tags that add features to your platform - you need to have a plan of when and where to implement them. 

Complying

GDPR compliance have incited panic on the data privacy and protection regulations. Instead of protecting data because the authorities told us to, we should be protecting customers data that we’re trying so hard to acquire. 

Many firms are excited to see the sort of data they can collect about people, but don’t want the same to happen with them, on an individual level. This kind of mentality can be pretty dangerous for companies not just in terms of legality but as a matter of brand optics and ethics too. 

Your tagging plan should know what type of variables you should collect and which you should never collect. Using tag governance solution you can always track the tags and variables for a pattern.

Deploying

A firm that applies tag governance in the initial stages can always fix tag errors before they get expensive. 

Developers are not ground-zero - there should be planning that goes into measuring data and marketing strategy before developers even set steps inside the office. 

A good product manager will always ensure the developer knows exactly what kind of QA measurement requirements should be met with every feature. So that when the developers create a data plan for implementation, they have specific lines to follow. 

Finding problems in the development stages is less risky because the data is a mock data - you’re not working with real customers with real data, just test accounts. You can ensure tags are working as expected and also test for non-compliant data before you go to the production stages and upset your users. 

QA

Analysts and Digital Marketers were historically taking it upon themselves to test for tagging errors in a production environment because it was their data that was at stake. 

The problem with this process  is that tagging errors in production are expensive and difficult to locate. Companies now have responded and have started deploying more engineers to test against measurement requirements during QA

As the final gate before the website moves into the production stages, QA engineers have an important role in testing analytics and other marketing tags. 

Tag governance helps them automate the iterative tests so that they can make sure the tags are working well under various environments and conditions. This keeps the website cycle agile, also minimising the broken codes at the same time. 

Validation

You’ve just published a new release on the production environment. Now what you want to do is to ensure nothing broke down when you went live. 

When making a website live, tagging errors are pretty common. To counter the problem technology stakeholders take it upon themselves to check for errors. It’s an uphill battle. The sheer size of the website makes an audit unrealistic. Moreover, we, as humans, aren’t equipped to mass scan data for errors. 

People believe in shortcuts and make exceptions. They aren’t systematic like a program. Even if you have the resources, many people, looking for tagging errors you wouldn’t have bulletproof results versus an automated test. 

Replacing manual checking with tag auditing, monitoring and validation can help you test your tag implementations in a much faster and with more accuracy. 

Monitoring

What you need to do next is to monitor your tag performance in regular intervals. When the tagging errors assemble, you want to be the first one to know. 

Guess what? Websites break down

In an ideal world a functioning website in production would never have any problems. But it’s not an ideal world. Somewhere somehow volatile data makes its way into analytics variable, or an additional tag pops up from an ad-serving tag. 

You need to continuously test the production environment to ensure everything falls in place with the tagging plan you create at the beginning.  

Tagging errors always come up in the production stages. You can’t have someone monitoring tags, all the time, to ensure smooth running. A tag governance solution can do the heavy lifting for you here, periodically checking your platforms for any tag errors. 

Implementation

Digital analytics and marketing technologies present significant value to your firm when implemented properly, of course. These techs rely on tags and tags rely on proper implementation. By using an automated solution to govern tags you can achieve greater accuracy. 

So, how many broken tags do you have on your website? Schedule a call with Tatvic rep to get a first hand look at your entire tagging system.

Google Optimize AB Testing for Improved User Experiences

Single-page applications (SPA) are known for their ability to improve the user experience. Except for the fact that test automation for Single-page apps can be difficult and time taking. In this blog, we’ll discuss how you can have a stable quality without burning much time and effort. 

The problem here is, SPAs have many components that are asynchronous with each other. While the automation framework of Google Optimize 360 implicitly runs for static objects, the appearance of objects in SPAs is unpredictable.

Problems with SPA:

Problems with SPA

Apart from the above-stated problem, here are a few complications you might come across:

  • Problems in configuring experiments via Google Optimize 
  • Unable to trigger Google Optimize experiments due to delay in Document Object Model (DOM) structure
  • Your experiment changes reflect before the actual content loads
  • Difficulty in providing a change in the user experience

To have an understanding of the above and overcome the problems faced we first need to understand Activation Events in Google Optimize.

 

What’s an Activation Event?

An activation event is a custom event that triggers or activates the Google optimize experiment. Keep in mind that the activation event will be used in conjunction with Google optimize targeting rules to perform required actions

Why do we need Activation events?

In SPA’s the pages don’t refresh completely. Moreover, the part of the DOM structure keeps on changing and the required content/structure doesn’t load in real-time, lazy loading (AJAX).

The experiment will wait for the activation event to kickstart in conjunction with the targeting conditions. You can inject the activation event to activate the experiment as many times as you want.

When to add an activation event?

Just push it wherever the need arises.

You can configure it on the dynamic content (history change) or post any customized event reflecting the change on the page in form of fragments or even after hitting a specific virtual pageview, based on the needs.

To sum up, the triggers for the activation event could either be history change,(lazy loading), page-load, any tailor-made custom event reflecting the necessary changes in DOM structure required to load/start Google Optimize or trigger it on all those conditions

 

Prerequisites-config for Google Optimize via GTM?

  • GTM implemented
  • Optimize snippet installation directly on-page or to be instrumented via GTM

Steps to weave activation event in GTM:

  1. Create a tag of type Custom HTML to inject the activation event
  2. Trigger it on the history change /page load/view

Activation Event Configuration step in Optimize

Once you push the activation event through the data layer, make sure you do configuration changes for activation events in Google Optimize.

Some nuts and bolts for the experiment

Deactivation -

This makes sure your previous changes injected via activation push events are undone or turned off. This makes sure that it’s not affecting the experiment changes in the DOM structure.

Push the activation event to deactivate the experiment; it will check for other targeting conditions set for activating the experiment. In any case, if optimize doesn’t find other targeting conditions, it would deactivate the changes itself.

Reactivation -

To rekindle your experiment changes: Push the activation event and if the targeting conditions are met, your aim of reactivating will be achieved.

Benefits of SPA?

You’ll now be thinking of where to apply these details or how to make use of it, in order to get the best out of it. Let’s understand it through use cases

Some Interesting Use Cases

Industry: Lead Gen 

Need: Tweak the image in the pre-lead section

The aim of the experiment was to display a dynamic image to 50% of the audience landing the pre-lead page/section. But the flickering issues, as well as a swapping of the original image -variant image -the original image was being noticed instead of displaying

the variant image. As, the website was developed in React js, and so the page was changing and images were being replaced in fractions. But we could avoid it altogether by pushing the activation event upon loading the pre-lead page.

Industry: Lead Gen 

Need: alter text besides ‘Buy now’ CTA

Another experiment was to display a special text below the lead/CTA to 30% of the target audience. The critical issue of race conditions between the events like history change and activation couldn’t reflect the variant changes. Again the activation event helped us display changes to the variant.

Generic use cases

Here are a few use cases that will help to visualize the role of activation events in SPA:-

Industry: eCommerce

 

Need: Display gift voucher

Aim: Display an exclusive gift voucher via optimization if a user adds a premium brand’s product to their basket. With a condition that when the user removes that premium product, swipe that voucher off the page.

In this case, push the activation event when a user performs the required action. This will activate the experiment.

Deactivate the experiment to remove the voucher being displayed, once the user removes the premium product from the bucket, push the activation event that deactivates the experiment.

Reactivate the experiment again if the user adds the premium product again to display it again.

Industry: eCommerce 

Need: Show Tagline below ‘Buy Now

Aim: To show an exclusive tagline below the ‘buy now button. In this case, the page comprising the ‘buy now button won’t load initially. Here you can push an activation event on the historical change and that event would activate the experiment by adding a tagline below the ‘buy now button.

Caution

Flickering - Image

 

While using an activation event, you can come across flickering issues in the DOM Structure. The flickering issue should not bother you if your element to be changed via- Google Optimize is lying below the fold.

Bottomline:

To summarize, we have discussed the nitty-gritty of activation events, their needs, and the nucleus, along with the way to weave activation events in GTM and optimize them as well. Also, we have covered its beauty via use cases and a note of caution.

I hope this pocket-sized blog helps you ease the implementation of Google Optimize in SPAs.

Still, experiencing issues? Or have a story to share? Write to us in the comment section and let our experts help you!

Happy Experimenting!

Bot Icon
Bot Icon

Tatvic Bot

Explore About Tatvic and Services