0

I wonder if I need to send all parameters with each hit, or if some of the parameters are 'cached' in the current session. I.e. do I require to send the resolution, view port, etc. with each hit, or is it enough to send those once per session?

I can't find any source that confirms what behaviour it it.

Thanks.

Gabriël
  • 1,323
  • 2
  • 22
  • 34

1 Answers1

0

It depends on which specific parameters you mean, but the fields you specify when you create your tracker apply to all hits for that tracker. See the GA documentation section called Specifying fields at creation time. More specifically the send documentation states (emphasis mine),

The fields that are sent are the values specified in the ...fields parameters and fieldsObject, merged with the fields currently stored on the tracker.

Kevin Condon
  • 1,618
  • 10
  • 16