{"id":369548,"date":"2026-09-14T12:31:18","date_gmt":"2026-09-14T12:31:18","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/spectry-tracking\/"},"modified":"2026-09-14T12:30:53","modified_gmt":"2026-09-14T12:30:53","slug":"spectry-tracking","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/spectry-tracking\/","author":23501837,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.1","requires":"5.0","requires_php":"7.0","requires_plugins":null,"header_name":"Spectry Tracking","header_author":"Spectry","header_description":"Adds the Spectry analytics tracking snippet to the head of your site.","assets_banners_color":"","last_updated":"2026-09-14 12:30:53","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/spectry.io","rating":0,"author_block_rating":0,"active_installs":0,"downloads":36,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"spectry","date":"2026-09-14 12:30:53","revision":3695209}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3695220,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3695220,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[232,521,550],"plugin_category":[36],"plugin_contributors":[280655],"plugin_business_model":[],"class_list":["post-369548","plugin","type-plugin","status-publish","hentry","plugin_tags-analytics","plugin_tags-statistics","plugin_tags-tracking","plugin_category-analytics","plugin_contributors-spectry","plugin_committers-spectry"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/spectry-tracking\/assets\/icon-128x128.png?rev=3695220","icon_2x":"https:\/\/ps.w.org\/spectry-tracking\/assets\/icon-256x256.png?rev=3695220","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Spectry is a hosted analytics service. This plugin connects a WordPress site to\na Spectry account: enter the site ID and write key from your Spectry dashboard,\nswitch the Active toggle on, and the tracking snippet is added to the <code>&lt;head&gt;<\/code>\nof every front-end page.<\/p>\n\n<p>The plugin has no premium tier, no locked features and no upsells. Everything it\ndoes is in the code.<\/p>\n\n<p>Using it requires a Spectry account, because the snippet reports to the Spectry\nservice. See the External services section below for exactly what is loaded and\nwhat is sent.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Site ID and write key settings under Settings &gt; Spectry.<\/li>\n<li>An Active toggle that turns the snippet on and off without deactivating the plugin.<\/li>\n<li>Nothing is printed unless the toggle is on and both credentials are filled in.<\/li>\n<li>The snippet is never printed in the admin area.<\/li>\n<\/ul>\n\n<h3>External services<\/h3>\n\n<p>This plugin connects to Spectry, an analytics service operated by Spectry, to\ncollect website analytics for the site owner. It is the entire purpose of the\nplugin and it is only active when you enter your credentials and switch the\nActive toggle on.<\/p>\n\n<p><strong>What the plugin does<\/strong><\/p>\n\n<p>When active, the plugin prints a small loader into the <code>&lt;head&gt;<\/code> of front-end\npages. That loader requests the tracking script from\n    https:\/\/cdn.spectry.io\/spectry.js?id= and passes along your site\nID and write key as data attributes on the script tag. The request happens in\nthe visitor's browser on every front-end page view.<\/p>\n\n<p><strong>What data is sent to Spectry<\/strong><\/p>\n\n<p>The tracking script, running in the visitor's browser, sends page view and usage\ndata to Spectry. This includes the visitor's IP address (used by the service to\nresolve approximate location), user agent, the URL of the page being viewed, the\nreferring URL, and interaction data generated as the visitor uses the page. No\ndata is sent from your server by this plugin, and the plugin itself stores\nnothing about your visitors in your WordPress database.<\/p>\n\n<p><strong>Terms and privacy<\/strong><\/p>\n\n<ul>\n<li>Terms of service: https:\/\/spectry.io\/terms-of-service<\/li>\n<li>Privacy policy: https:\/\/spectry.io\/privacy-policy<\/li>\n<\/ul>\n\n<p>Because visitor data is sent to a third-party service, you are responsible for\ndisclosing this in your own privacy policy and for obtaining any consent\nrequired in your jurisdiction (for example under the GDPR).<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to <code>\/wp-content\/plugins\/<\/code> (or install the zip via\nPlugins &gt; Add New &gt; Upload Plugin).<\/li>\n<li>Activate the plugin.<\/li>\n<li>Go to Settings &gt; Spectry, fill in the site ID and write key from your Spectry\ndashboard, tick Active and press Save.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"where%20is%20the%20snippet%20added%3F\"><h3>Where is the snippet added?<\/h3><\/dt>\n<dd><p>In <code>wp_head<\/code> at priority 1, so it loads as early as the theme allows.<\/p><\/dd>\n<dt id=\"what%20happens%20if%20i%20leave%20a%20field%20empty%3F\"><h3>What happens if I leave a field empty?<\/h3><\/dt>\n<dd><p>Nothing is printed. Both the site ID and the write key must be filled in and\nActive must be on.<\/p><\/dd>\n<dt id=\"do%20i%20need%20a%20spectry%20account%3F\"><h3>Do I need a Spectry account?<\/h3><\/dt>\n<dd><p>Yes. The snippet reports to the Spectry service, so the site ID and write key\nhave to come from a Spectry account.<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20store%20any%20visitor%20data%20on%20my%20site%3F\"><h3>Does the plugin store any visitor data on my site?<\/h3><\/dt>\n<dd><p>No. It stores only your site ID, write key and the Active toggle, in a single\nWordPress option. That option is deleted when you delete the plugin.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Adds the Spectry analytics tracking snippet to the head of your site.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/369548","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=369548"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/spectry"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=369548"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=369548"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=369548"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=369548"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=369548"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=369548"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}