#StackBounty: #javascript #google-analytics Google analytics intersept all requsts

Bounty: 150

I would like to get a callback each time ga send data to the server.
I would like also to send the same data to my server.
Is it possible?
If so, how?



  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-143361924-1');

Thank you

Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.