I took a stab at implementing the feedback from Sanford Whiteman and figured I'd share it even though I didn't end up using it. Note: I haven't actually tested the code below, so there are likely some issues. I'm just posting because it might be a better start than what's provided above. Solution to using UTM parameters & cookies to capture lead source information. See https://nation.marketo.com/thread/248…
... View more