Exclude Google Analytics data from outside a Chrome extension -


i created google analytics account chrome extension. use faked website url in parameters because ga doesn't accept protocol chrome-extension://...

as ga isn't linked specific domain own, doesn't block data outside. there solution ? can ga use chrome-extension:// or extension id ?

thx

one of solutions create real web page on host, example http://example.com/analytics.html. , insert in page google analytics script.
inject page iframe using content scripts websites need. trigger google analytics without problems.


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -