Google Tag Manager + Akamai mPulse

Roy Martinez Blanco
3 min readMay 8, 2019

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.

This is a great option when you that already use GTM and maybe don’t have any Akamai delivery products but keep in mind that if you do then you should use Edge Injection to avoid losing visibility of the middle mile.

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

--

--

Roy Martinez Blanco

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