Setting context fields manually (such as utm_campaign, utm_source, gclid)

I'd like to know how to set context fields (such as utm_campaign, utm_source, gclid), which i have already parsed and stored in session cookies manually.

Is there a way to send them with analytics.identify or i should set this information somewhere else, like directly in context.campaign? In both cases, what's the syntax to do it?

Thanks in advance

2replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • Hi Luís !

    Noticed that you just wrote in directly - our team will get back to you there shortly :)

    Reply Upvote
  • Hi I would like the answer to this as well. Cant seem to find info about this anywhere in the docs. Can you guys reply to this question with some info?

    Reply Upvote