title: Google Tag Manager - firing events from rest api
body: <p>Some of my events are getting fired from frontend for both google analytics and facebook pixel and they are getting captured properly through GTM.</p>
  
  <p>but now i have a functionality which is getting done from cron and is served   from backend. I need to capture a event in both google analytics and facebook pixel when this is getting captured. </p>
  
  <p>We need to fire the https (rest based) calls for capturing this.</p>
  
  <p>Kindly help on this how this can be achieved.</p>