Using Google Analytics Measurement Protocol Hit Builder

This article is related to measurement protocol in Google Analytics.

If you are brand new to measurement protocol, then read this article first: Understanding Google Analytics measurement protocol.

In this article, I will show you, how to use the measurement protocol hit builder to create and validate payload data.

The best and easiest way to create and test payload data is by using the measurement protocol hit builder tool.

By using the hit builder tool, you can skip encoding the URLs and other type of data.

You probability of creating a valid payload data will be very high, if you use the hit builder tool.

Get the FREE E-Book (31 Pages)

Follow the steps below to create and validate payload data for sending pageview data to Google Analytics via the measurement protocol:

Step-1: Navigate to measurement protocol hit builder tool:

Step-2: Click on the ‘click here to authorize’ button:

click here to authorize

Step-3: Sign in with your Google account. Once you signed in, you can technically use the hit builder tool.

Step-4: Click on the ‘Add parameter’ button and add various hit parameters:


Step-5: Scroll up (within the hit builder tool) and then click on the ‘Validate hit’ button:


You should now see the ‘Hit is Valid’ message:


Note: If the hit is not valid, then you won’t be able to send it to Google Analytics.

Step-6: Click on the ‘Send hit to Google Analytics’ button (shown above) and then check the GA Real time report, to see the pageview hit you sent via the measurement protocol:


If you have created payload data outside of the hit builder tool, you can also validate that payload via the hit builder.

Just copy-paste the payload data you want to validate in the ‘Hit payload’ text box and then click on the ‘Validate Hit’ button:


Most Popular E-Books from OptimizeSmart

Learn to read e-commerce reports book banner

How to learn and master Web Analytics and Google Analytics?

Take the Course

Check out my best selling books on Web Analytics and Conversion Optimization on Amazon

How to get lot more useful information?

I share lot more useful information on Web Analytics and Google Analytics on LinkedIn then I can via any other medium. So there is really an incentive for you, to follow me there.

Himanshu Sharma

Certified web analyst and founder of

My name is Himanshu Sharma and I help businesses find and fix their Google Analytics and conversion issues. If you have any questions or comments please contact me.

  • Over twelve years' experience in SEO, PPC and web analytics
  • Google Analytics certified
  • Google AdWords certified
  • Nominated for Digital Analytics Association Award for Excellence
  • Bachelors degree in Internet Science
  • Founder of and

I am also the author of four books:

error: Alert: Content is protected !!