fbpx
how to remove fbclid, from Google analytics

What Is MSCLKID In Google Analytics?

Have you ever seen MSCLKID as a traffic source or medium in your Google Analytics before?

Do not panic. It is not an error.

In this post, you’ll understand what MSCLKID means and how to get rid of them in Google Analytics.

What does MSCLKID Mean?

Simply put, MSCLKID means Microsoft Click ID. It shows up in your Google Analytics report when you receive a visit via a Microsoft ad.

For MSCLKID to be active, an advertiser would have to enable it.

cloudways WordPress hosting
  • Host your websites on a super fast, dedicated and independent server.
  • Break free from cheap and slow Shared hosting service.
  • Enjoy Pay as you use Cloud hosting service for a token.
  • Get $25 FREE after signup.

Further Learning: What are ABO and CBO in Facebook advertising?

The Problem With MSCLKID

MSCLKID are all click identifiers for respective platforms as explained above.

The problem with these click identifiers is that they create so many paths on one single page of your website in Google Analytics.

This makes your report complicated and it looks really untidy.

Read Also: How To Fix HTTPS Error in Google Search Console

What Is FBCLID In Google Analytics?...
What Is FBCLID In Google Analytics? | Digital Acce

How to remove MSCLKID from Google Analytics

There are 2 ways to remove MSCLKID from your Google Analytics.

  1. View Settings
  2. Filter Settings

The first method is easy and the second method is a bit complicated. However, I’ll explain both.

If you are not so technical, I recommend sticking with the first method.

Read More: How To Reduce Bounce Rate in Google Analytics

Method 1: View Settings

Here, you’ll learn how to remove MSCLKID from your Google Analytics via view settings.

view settings in Google analytics
Load WordPress Sites in as fast as 37ms!

Go to your View Settings and add “msclkid” into the “Exclude URL Query Parameter” section. 

how to remove fbclid, msclkid, or gclid from Google Analytics

Remember to separate each identifier with a comma. See the screenshot above.

Read More: How to do Keyword Research on Google

Load WordPress Sites in as fast as 37ms!

Method 2: Filter Settings

Here, you’ll find out what you need to do to exclude the msclkid parameters using the filter settings.

Please note that we’ll use msclkid in this instance but you can apply the same steps to filter out fbclid and gclid in your Google Analytics.

Step 1:

  • Go to the admin panel (at the bottom left corner of your account.)
  • Click on All Filters to add a new filter
  • Name Filter using the Filter Name field
  • Next, Change the filter type to Custom
  • Now, select the Search and Replace option
  • Choose “Request URL” in the Filter Field
  • Enter the following expression within the Search String:

(((msclkid)(=[^&#]*))+)

  • Leave the “Replace String” field empty.
  • Finally, Save changes.

Keynotes:

*Repeat the same procedure to remove MSCLKID and GCLID.

*This Filter will help you clean up your data and get rid of the msclkid parameter and a couple of others that mess up your analytics.

Step 2:

  • Create another Filter and name it “tidy filter”. Use the steps above to create another filter.

*As soon as you create this Filter, you need to set up a so-called “tidy” filter. This filter will help to exclude the “?” or “&.”.

  • Enter the following expression within the Search String field:

([?&]$)

  • Leave the Replace String field empty.

*Ensure that your “tidy” Filter ranks below all your query filters.

*Remember that you can also remove all unnecessary URL queries by simply applying one Filter.

Step 3:

  • Create another Search and Replace Filter (same procedure as before)
  • Enter the following expression within the Search String field:

\?.*

This Filter will help you remove everything that comes after the first “?” in the page path.

Read More: How To Block Bot Traffic From Seychelles & Czechia

cloudways WordPress hosting
  • Host your websites on a super fast, dedicated and independent server.
  • Break free from cheap and slow Shared hosting service.
  • Enjoy Pay as you use Cloud hosting service for a token.
  • Get $25 FREE after signup.

Conclusion

By now, you should have found a way to get rid of MSCLKID in your Google Analytics.

It is essential to clean up your Google Analytics report by filtering these parameters out.

Remember that there are two methods to do this as explained above.

I recommend that you stick with the “view settings” method to remove MSCLKID from Google Analytics.

If you still cannot fix it, drop your comments here or contact me for help.

Leave a Comment

Your email address will not be published. Required fields are marked *