Amiko
Amiko

Reputation: 585

How do you specify source in Google's measurement protocol transaction hits?

I've been able to send transaction hits to Google Analytics no problem through Hit Builder just to test out Hit Paylods. Link here: Google's Hit Builder Transactions are showing up in GA and their source is "Direct" on default it seems.

What I want is to specify source myself before sending out Transaction Hit. Like I would like to specify email instead of Direct, or specify one of the websites in (Other) Category. How would I go about that?

enter image description here

Upvotes: 2

Views: 840

Answers (1)

Eike Pierstorff
Eike Pierstorff

Reputation: 32760

Via the cs (campaign source) parameter. You may need to set other traffic sources parameters for a working attribution (you should at least set "source" and "medium").

Upvotes: 2

Related Questions