Install inline add-on from web and get callback after complete installation in web

Hello,
I’ve my add-on and I want to add functionality to inline install from my website and it’s done
but now I want call back response on website when add-on installed successfully to fire google analytic event.
My website is in angularjs

code of inline installation
<a href="https://addons.mozilla.org/firefox/addon/add-on/">

Please help me

You can use runtime.onInstalled.addListener to open a page on your website (but not all users will be happy about such tracking)