{"id":105187,"date":"2019-06-15T03:42:03","date_gmt":"2019-06-15T03:42:03","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/technicality-google-analytics\/"},"modified":"2021-05-07T00:49:36","modified_gmt":"2021-05-07T00:49:36","slug":"technicality-google-analytics","status":"publish","type":"plugin","link":"https:\/\/te.wordpress.org\/plugins\/technicality-google-analytics\/","author":17238552,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.2","stable_tag":"trunk","tested":"5.7.15","requires":"4.6","requires_php":"5.2.4","requires_plugins":"","header_name":"Technicality Google Analytics","header_author":"Jeff Trotman, Technicality LLC","header_description":"Simple - enter your Google Tracking ID in a new field on the General Settings page and the Google Analytics script will be added to the header of each post and page.","assets_banners_color":"","last_updated":"2021-05-07 00:49:36","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/technicality.online\/products\/GoogleAnalyticsWordPressPlugin","header_author_uri":"http:\/\/technicality.online","rating":0,"author_block_rating":0,"active_installs":0,"downloads":2594,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0":{"tag":"1.0","author":"jefftrotman","date":"2021-05-07 00:49:36"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":2106527,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1005],"plugin_category":[],"plugin_contributors":[172850],"plugin_business_model":[],"class_list":["post-105187","plugin","type-plugin","status-publish","hentry","plugin_tags-google-analytics","plugin_contributors-jefftrotman","plugin_committers-jefftrotman"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/technicality-google-analytics\/assets\/icon-128x128.jpg?rev=2106527","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This is a very simple WordPress plugin that adds the code needed for Google Analytics to your page. You just need to install the plugin, activate it, and enter your Tracking ID.<\/p>\n\n<p>Technical Details (in case you are curious, the plugin takes care of this for you)<\/p>\n\n<p>If your Google Analytics Tracking ID is UA-XXXXXXXX-1, this code needs to be added to your page headers for tracking to occur:<\/p>\n\n<p><!-- Global site tag (gtag.js) - Google Analytics -->\n<\/p>\n\n\n  window.dataLayer = window.dataLayer || [];\n  function gtag(){dataLayer.push(arguments);}\n  gtag('js', new Date());\n\n  gtag('config', 'UA-XXXXXXXX-1');\n\n\n<p>The plugin adds a field to the General Settings page for you to enter your Tracking ID. Activate the plugin, enter your Tracking ID - that's all you have to do. The code above (with your Tracking ID) will automatically be inserted into the header of each page your readers view.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/technicality-google-analytics<\/code> directory, or install the plugin through the WordPress plugins screen directly. <\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<li>Use the Settings-&gt;General screen to enter your Google Tracking ID.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Tested with WordPress 5.7.1. No code changes.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial version.<\/li>\n<\/ul>","raw_excerpt":"Adds your Google Analytics Tracking ID to your headers.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/105187","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=105187"}],"author":[{"embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jefftrotman"}],"wp:attachment":[{"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=105187"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=105187"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=105187"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=105187"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=105187"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/te.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=105187"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}