H-cube administrator settings
Made by and for the marketing company H-cube marketing, anyone else may use this at their own risk. It will not be listed publicly.
Created this because filtering IP's with Google Analytics is very unreliable, and our business model relies heavily on accurate tracking data. I wasn't able to find a lightweight solution to block AMP-analytics whatsoever, so I made one myself.
This is a very small extension to filter AMP-analytics tracking for developers, and is only intended to be used by a few people in our company.
How does it work? Simply removes all <script> elements that contain "amp-analytics" in their outer HTML
That's it, incredibly simple.
The attached image show the error message that will display in the console if tracking is effectively disabled.
Requires access to activeTabs because it will parse and modify the DOM
Introduces a new feature. Click the extension icon to open a new tab, load the WordPress dashboard, and navigate to the current pages editor.
How does it work?
This is done by parsing the DOM to find the WordPress post ID, and uses window.open() to navigate to the edit page
Of course this will only work if the user is already logged into WordPress for that site.
Requires access to tabs because, when the user clicks the icon, it will then parse the DOM to find the WordPress post ID, and the DOM is not available to background.js