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

Capture and play voice with Asterisk ARI -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -

visual studio - Installing Packages through Nuget - "Central Directory corrupt" -