Bug #69864
closedAdd most common tracking parameter to default cHashExcludedParameters
100%
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.
Updated by Mathias Brodala about 9 years ago
- Status changed from New to Needs Feedback
I'm against this for two reasons:
- You can do this for yourself easily as you mentioned.
- 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.
Updated by Jan Kiesewetter about 9 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.
Updated by Gerrit Code Review about 9 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
Updated by Gerrit Code Review about 9 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
Updated by Mathias Schreiber about 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset d1a0759373b9f2a860de96d7e8bd3fb0ac9021d8.
Updated by Tymoteusz Motylewski about 9 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)
Updated by Jan Kiesewetter about 9 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.
Updated by Tymoteusz Motylewski over 1 year ago
- Related to Task #101180: Add more common tracking params to excludedParameters added