Skip to main content
Ignored Parameters
Updated over a week ago

The “Ignored Parameters” feature allows you to specify URL parameters that NitroPack can ignore when optimizing your website. You can enable it from Cache Settings >> Cache >> Ignored parameters.

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

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_*

  • gclid

  • gbraid

  • wbraid

  • epik

  • msclkid

  • zenid

  • _gl

  • lons1

  • appns

  • tstt1

  • tsts6

  • tsts12

  • lpcid

  • 3x-7

  • mm_src

  • muid

  • vgo_ee

  • mn

  • irclickid

  • irgwc

  • _xuid

  • _kx

  • ref

  • fb_action_ids

  • fb_action_types

  • fb_source

  • dclid

  • _ga

  • cn-reloaded

  • age-verified

  • ao_noptimize

  • usqp

  • mkt_tok

  • ck_subscriber_id

  • usqp

  • cn-reloaded

  • sscid

  • ef_id

  • s_kwcid

  • _bta_tid

  • _bta_c

  • dm_i

  • campaignid

  • adgroupid

  • adid

  • gclsrc

  • gdfms

  • gdftrk

  • gdffi

  • _ke

  • trk_contact

  • trk_msg

  • trk_module

  • trk_sid

  • mc_cid

  • mc_eid

  • mkwid

  • pcrid

  • mtm_source

  • mtm_medium

  • mtm_campaign

  • mtm_keyword

  • mtm_cid

  • mtm_content

  • pp

  • pk_source

  • pk_medium

  • pk_campaign

  • pk_keyword

  • pk_cid

  • pk_content

  • redirect_log_mongo_id

  • redirect_mongo_id

  • sb_referer_host

  • pk_kwd

  • piwik_campaign

  • piwik_kwd

  • piwik_keyword

  • mtm_group

  • mtm_placement

  • matomo_campaign

  • matomo_keyword

  • matomo_source

  • matomo_medium

  • matomo_content

  • matomo_cid

  • matomo_group

  • matomo_placement

  • hsa_cam

  • hsa_grp

  • hsa_mt

  • hsa_src

  • hsa_ad

  • hsa_acc

  • hsa_net

  • hsa_kw

  • hsa_tgt

  • hsa_ver

  • _branch_match_id

  • mkevt​

  • mkcid

  • mkrid

  • campid

  • toolid

  • customid

  • igshid

  • si

  • iid

  • _iid

  • pretty

  • mod

  • li_fat_id

  • ttclid

  • trueroas

  • _vsrefdom

Did this answer your question?