How is Google Analytics Measurement Protocol different? -


i checking ga measurement protocol send data ga backend.which working fine.url using is:

 https://www.google-analytics.com/collect?tid=ua-xxxxxxx-1&v=1&cid=9350&dp=home&t=pageview 

(please replace ua-xxxxxxx-1 own tracking id.)

now have website ga enabled using javascript way.i checked in chrome inspect sends information google through url:

https://stats.g.doubleclick.net/__utm.gif?utmwv=5.6.5dc&utms=4&utmn=1588741400&............ 

i can use url send information google backend. what's special , new in measurement protocol because using url can send data google analytics purposes?

i need send data backend ga please guide.

the measurement protocol "backbone" data collection universal analytics versions (web, mobile etc). unlike gif-method documented , can called every device/programming language can send http requests (it still return transparent gif, though).

the main reason using measurement protocol else deprecated , google has announced support older tracking methods dropped. looks second example uses older version of analytics tracking code, current versions send calls https://www.google-analytics.com/collect endpoint. should not invest lot of effort in developing solutions based on deprecated technology, if offers no advantages on current versions.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -