How to correctly use google analytics measurement protocol? -


i'm learning use google analytics apps. test purpose have created new google account, enabled analytics apps , issued following command terminal test working:

curl "http://www.google-analytics.com/collect?v=1&tid=ua-12345678-1&cid=123&an=myapp&t=event&ec=action&ea=click" 

unfortunately, request don't affect numbers see on analytics page - it's zeroes. request google analytics results in "200 ok" , 1x1 pixel gif image, can't figure out problem: request incorrect, or need somehow preconfigure google analytics, or have days delay before data displayed etc.

any suggestions?

it looks issue solved. pointers other people coming page:

  • look in realtime reports.
  • try send pageview or screenview instead of event. show in more places.
  • the cid should uuid v4.

Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -