Skip to content
This repository was archived by the owner on Nov 23, 2019. It is now read-only.

Conversation

@sperand-io
Copy link
Contributor

We should only populate the 5 spec'd context.campaign fields when we parse the querystring. This PR adopts our utm parser's new strict mode to ensure that.

Our existing implementation will return an unbounded object with any key prefixed utm_, causing, for example, unbounded column addition in redshift. This fix is especially important because customers are not in control of their own UTM params —any referrer can populate them erroneously and we see that happen often.

@ndhoule @reinpk

cc/ @ivolo @wcjohnson11... you both were interested in seeing this fix through on slack :)

@reinpk
Copy link

reinpk commented Aug 27, 2015

looks good to me, but no idea what people might be depending on other params downstream?

@hankim813
Copy link
Contributor

hmm yeah it totally make sense to me. But I wonder if our tools right now support utm params that are custom? and if people have ad attribution funnels set up to be depending on those custom utm params, then this would break for them. if all ad tools abide by the same context.campaign as the 5 we will listen for then I think we should be good. @reinpk @sperand-io

@hankim813
Copy link
Contributor

@sperand-io this still relevant/can we ship after conflict resolve?

@f2prateek f2prateek closed this Feb 27, 2017
@f2prateek
Copy link
Contributor

Closing for staleness.

@f2prateek f2prateek deleted the strict/utm branch March 6, 2017 21:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants