Project

General

Profile

Actions

Bug #69864

closed

Add most common tracking parameter to default cHashExcludedParameters

Added by Jan Kiesewetter over 8 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-09-16
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

If a user links to a TYPO3 page with tracking parameters like pk_campaign, pk_kwd, utm_source, ...
TYPO3 include them in cHash calculation. As the calculated cHash does not match, TYPO3 answers with 404 (Default [FE][pageNotFoundOnCHashError] = 1).

To avoid this, the most common tracking parameters should be added to the default value of $GLOBALS['TYPO3_CONF_VARS']['FE']['cHashExcludedParameters'].

As a workaround user can add

$GLOBALS['TYPO3_CONF_VARS']['FE']['cHashExcludedParameters'] .= ', pk_campaign, pk_kwd, utm_source, utm_medium, utm_campaign, utm_term, utm_content';

to the AdditionalConfiguration or set the value in the install tool.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #101180: Add more common tracking params to excludedParametersClosed2023-06-27

Actions
Actions #1

Updated by Wolfgang Wagner over 8 years ago

+1!

Actions #2

Updated by Mathias Brodala over 8 years ago

  • Status changed from New to Needs Feedback

I'm against this for two reasons:

  1. You can do this for yourself easily as you mentioned.
  2. If we start including stuff like this, we have to constantly extend and update this list without benefit to the general audience. Not everyone is using a tracking solution

Thus I'd vote for closing this issue.

Actions #3

Updated by Jan Kiesewetter over 8 years ago

But if a visitor share a link with tools like Buffer the parameters are added.

See
https://twitter.com/scheibo_/status/644055263402659840
https://twitter.com/scheibo_/status/644055432198234112

The interested follower of the visitor than gets a 404 and wonders why.

In my opinion this harms visitor and website owner.

Actions #4

Updated by Gerrit Code Review over 8 years ago

  • Status changed from Needs Feedback to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43371

Actions #5

Updated by Gerrit Code Review over 8 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43371

Actions #6

Updated by Mathias Schreiber over 8 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

Updated by Tymoteusz Motylewski over 8 years ago

Here is a list of params added by different tracking/sharing tools, from my experience:

  • d
  • src
  • t
  • ref
  • gclid
  • cx
  • ie
  • cof
  • siteurl
  • zanpid
  • _ult
  • _ (jQuery GET parameters)
Actions #8

Updated by Mathias Brodala over 8 years ago

See what I mean. ;-)

Actions #9

Updated by Jan Kiesewetter over 8 years ago

@Mathias Brodala
I don't see what you mean.
The path covers >90% of the installations, so it was right.
The last <10% have to extend the configuration.
You'll never cover 100% with defaults.

Actions #10

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions #11

Updated by Tymoteusz Motylewski 10 months ago

  • Related to Task #101180: Add more common tracking params to excludedParameters added
Actions

Also available in: Atom PDF