Stream - Tracking Code Manager
Tracking code activity connector for Stream (Tracking Code Manager)
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/itinerisltd/stream-connector-tracking-code-manager/archive/refs/heads/main.zipOn Packagist as itinerisltd/stream-connector-tracking-code-manager:
composer require itinerisltd/stream-connector-tracking-code-managerTracks tracking-snippet activity — creation, edits, activation toggles, and deletion — plus changes to the plugin's two Settings-tab options, for Tracking Code Manager.
Minimum Requirements
- PHP v8.4
- WordPress v6.1
- Tracking Code Manager
Installation
composer require itinerisltd/stream-connector-tracking-code-manager
How it works
Tracking Code Manager does not fire any action or filter hooks around its tracking-snippet writes — TCMP_Manager::put() and TCMP_Manager::remove() write straight to individually-keyed wp_options rows (TCM_Snippet_{id}) with nothing to hook into.
This connector instead hooks WordPress core's generic added_option, updated_option, and delete_option actions, and identifies Tracking Code Manager's writes by option-name prefix (TCM_). This means it depends on Tracking Code Manager's internal option-naming convention, which is a private implementation detail rather than a public API. If logging stops working after a Tracking Code Manager update, check whether the plugin renamed its options first.
Credits
Stream Connector Tracking Code Manager is a Itineris Limited project created by Lee Hanbury-Pickett.
Full list of contributors can be found here.
License
Stream Connector Tracking Code Manager is released under the MIT License.
Releases
1 release.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.