Ignored Parameters

The “Ignored Parameters” feature allows you to specify URL parameters that NitroPack can ignore when optimizing your website.

To ignore a parameter, simply write down its name in the field.

Ignored_Parameters.png
Only the parameter name should be included here. For example, question marks (?), equals signs (=), separators (&) and parameter values should not be included.
 
If you have parameters with a similar name and a common root (like utm_source, utm_medium, utm_campaign, etc.), you can use wildcards to exclude them, like this:
utm_* 
(NitroPack ignores UTM parameters by default. You don't need to add this rule manually - we're just using it as an example.)

Remember to save your settings after writing down the ignored parameters.

Important Note: NitroPack ignores some commonly used parameters by default. For a complete list of those parameters, scroll down to the end of this article.

For a deeper dive on why ignoring parameters is necessary, read on. We'll start with the two most popular types of additional parameters.

UTM Parameters

Urchin Tracking Module (UTM) parameters are tags that help you learn more about the user behavior on your website.

For example, check out the URL below:

MOZ_URL_color.png

The underscored strings are three different UTM parameters. There are also other types of UTM parameters, but these three are used most often.

Regardless of the specific tags, NitroPack recognizes and ignores all UTM parameters by default.

Gclid Parameters

Gclid or Google Click Identifier is another popular tracking parameter.

Its job is to transfer information between your Google Ads and Google Analytics accounts. You can find this parameter in the URL if you click on an ad in Google, for instance:

GLIC_Pic_color.png

NitroPack also recognizes and ignores the gclid parameter by default.

Now, let’s talk about why ignoring parameters is awesome.

The Benefits of Ignoring Parameters

Let’s go back to our first example.

The UTM "source" parameter clearly states that Facebook led the visitor to this page.

MOZ_URL_color.png

Now, let’s say another visitor found this page through LinkedIn.

Both the Facebook and the LinkedIn visitor will see the same content on the page. However, they will have different URLs because of the UTM “source” parameter.

Moz_URL_LinkedIn_Color.png

In such a case, caching solutions that don't ignore UTM parameters serve content from separate cache files. This is redundant because both users see the same content on the page.

So, by ignoring these parameters, NitroPack doesn’t create unnecessary cache files and keeps your website cache as lean as possible.

In the example above, NitroPack would see the URL as:

Final_URL.png

Keep in mind that the UTM and gclid parameters aren’t the only additional URL parameters out there. Other Parameters that don’t modify content on the page can also be specified and ignored with NitroPack’s “Ignored Parameters” option.

A good rule of thumb is that if you’re using a JavaScript library to track parameters, it should be safe to let NitroPack ignore them, provided they don’t modify content on the page.

On the other hand, if you’re using server-side software to track GET parameters, it’s better to use NitroPack’s “Excluded URLs” feature.

If you’re not sure how GET parameters are tracked, you should consult a tech expert before ignoring parameters or excluding URLs.

Parameters that are ignored by default

When the "Include the default ignored parameters" option is enabled, the following parameters will be ignored in addition to any parameters that you have configured already:

  • utm_*
  • fbclid
  • gclid
  • msclkid
  • zenid
  • _gl
  • lons1
  • appns
  • tstt1
  • tsts6
  • tsts12
  • lpcid
  • 3x-7
  • mm_src
  • muid
  • vgo_ee
  • epik
  • gbraid
  • wbraid
Was this article helpful?
6 out of 7 found this helpful

Comments

0 comments

Please sign in to leave a comment.