-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make mtm_cid case sensitive #65
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix @chopsol! I requested a change, but for the most part it looks good to me. I'm not sure if we can merge it just yet, though.
@sgiehl @tsteur do you know if we need to remove casing when aggregating? I assume having IDs that vary by case isn't something to expect in the wild (typos happen, surely, but maybe not often?). Can we merge this (after adding some test data)?
@diosmosis I don't really know but maybe @sgiehl knows more? Generally I would have expected every parameter to be case sensitive. Not sure regarding casing when aggregating. |
I changed my request by creating a new parameter mtm_gclid to make sure that old behaviour don't break. |
@diosmosis I don't really know much about it unfortunately. @sgiehl can you have a look at this too? |
@tsteur I guess I would actually also have expected the parameters to be case sensitive. But seems core is handling it the same way for campaign names, so not sure if we should change that in general. Maybe we could introduce a new config setting to allow changing that behavior? For tracking click ids it actually would also be possible to simply use a custom dimension. that should already be case sensitive. |
@sgiehl Good point. I changed the parameter to mtm_clid |
Are there any reasons not to merge this pull request? |
Personally I'm still unsure if we should make a Btw. we have released a new premium plugin, which automatically tracks click id and allow segmenting for them. See https://plugins.matomo.org/AdvertisingConversionExport |
Changing this main behavior within minor update may break reportings. |
Here are my thoughts:
|
@mattab couldn't we remove the |
Sounds good @sgiehl as a simpler solution, that wouldnt break BC. |
I'd like to push this request once more. Are there any reasons not to merge? I understand that a greater change will be nice, but until then, this change doen't break BC either. |
@justinvelluppillai It should be fine to merge this PR. Nevertheless we should consider building a proper solution as I mentioned some comments above. Even though it won't be a BC break, we could also plan this for Matomo 5. |
I'd like to recommend changing the value for mtm_cid to respect case so it can be used for gclid tracking for Google Ads.
See also #27