Google Tag Manager + Akamai mPulse

How to set up mPulse with Google Tag Manager

This blog is meant to provide a quick guide on how to enable Akamai mPulse when using Google Tag Manager.

1. Create a new Tag

The First step once in the GTM account is to create a new tag.

2. Set the Tag Configuration for Custom HTML

This will take you to the tag editor that has 2 settings:

  • The type of tag
  • when the tag will be triggered/added to the page.

Once in this screen click on edit for the “Tag Configuration” and you to see all the options available. For mPulse, we will use the “Custom HTML” type.

Tag Type

Now from the mPulse App Configuration take the HTML snippet and added to GTM.

3. Modify Trigger and add All Pages

At this point, we have the code that will insert mPulse but we now need to tell it when to insert it.

Edit Triggers

GTM has 3 main events that could be used but we are going to use “Page View” as the event trigger.

  • Dom Ready
  • Page View
  • Window Loaded

After the steps above you should have something like the image below and if so you can go ahead and promote the change to GTM production.

Final Product

Once the change is live you can test it by looking for the mPulse beacons in Chrome Developer Tools Network tab and filtering for “/mpulse|akstat/” and if all goes well we will see an HTTP POST request with a 204 response code.

Validation

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Roy Martinez Blanco

Roy Martinez Blanco

I’m a photography enthusiast but in business hours I am Computer Science analyst. More about me here: https://roymartinez.dev/