0
votes

The question might be common but didn't find it anywhere. I'm tracking events in google analytics via measurement protocol. On the analytics page I can create up to 20 events. Let's say I got an invoice and there are 20 sources from where it may come, I need to send that data to analytics, so let's say category invoice action pay and the label is bank transfer, cash etc. I heard label can be left empty on the analytics event manager page, and still if I fill the label in my code It will be shown. I hope I stated myself clear enough :)

Cheers!

1
I think you forgot the question part of your question want to try again? - DaImTo
Well maybe... Do i have to define labels on the analytics page? Or they can be made dynamically in the code? - Maarduk
Events arent like custom dimensions its just a string you send. You can submit what ever you want. developers.google.com/analytics/devguides/collection/protocol/… - DaImTo
Ahh okay thank you! Thought that those need to be pre-defined on the analytics page :) Thanks for help man! Have good day! - Maarduk

1 Answers

1
votes

Events are not predefined its basically just text that you can add. Things like custom dimensions need to be predefined.

You are also correct label is not required events