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.
And save your settings.
Important note: NitroPack ignores some parameters by default, including gclid. For a complete list of those parameters, scroll down to the end of this article.
This feature's really useful when you’re running marketing campaigns and tracking your website’s results in Google Analytics.
First, let’s go over the two most popular types of additional 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:
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 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:
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.
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.
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:
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.
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: