alfeugds / jiraworklogtool

A simple Chrome Extension that allows adding worklog in Jira easily.

Home Page:https://chrome.google.com/webstore/detail/jira-worklog-tool/pekbjnkonfmgjfnbpmindidammhgmjji

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add GTM to extension to track Jira API Usage

alfeugds opened this issue · comments

Add GTM container to extension, then configure container to:

  1. use function that intercepts xhr responses (reference)
  2. when readyState == 4, get responseURL from pointer
  3. parse responseURL to new URL(responseURL)
  4. send track event with data:
    • origin
    • pathname