PluginProbe
Parse.ly / 2.0
Parse.ly v2.0
3.24.1 3.24.0 3.23.7 3.23.6 3.23.5 3.23.4 3.23.3 3.16.0 3.16.1 3.16.2 3.16.3 3.16.4 3.17.0 3.18.0 3.18.1 3.19.0 3.19.1 3.19.2 3.19.3 3.2.0 3.2.1 3.20.0 3.20.1 3.20.2 3.20.3 All 105 releases
wp-parsely / README.md

README.md in Parse.ly 2.0, at README.md

181 lines 9.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 # Parse.ly #
2 The Parse.ly plugin real-time and historical analytics to your content through a platform designed and built for digital publishing.
3
4 ## Description ##
5
6 Designed and built for digital publishers, Parse.ly helps you understand how your audience is connecting to your content.
7
8 Thousands of writers, editors, site managers, and technologists already use Parse.ly to understand what content draws in website visitors, and why. Using our powerful dashboards and APIs, customers build successful digital strategies that allow them to grow and engage a loyal audience.
9
10 Join industry leaders -- like Mashable, Slate, News Corp, and Conde Nast -- who already use Parse.ly to bring clarity to content, audience, and analytics.
11
12 **Features**
13
14 * Get started with Parse.ly right away: the plugin automatically inserts the required parsely-page tag and JavaScript on all your published pages and posts.
15 * Allows you to specify the JavaScript implementation to use: standard, DOM free or asynchronous.
16 * If you've purchased access to the Parse.ly API, add a widget to your site with story recommendations personalized to individual users.
17
18 Feedback, suggestions, questions or concerns? E-mail us at [](mailto:support@parsely.comsupport@parsely.com](mailto:support@parsely.com](mailto:support@parsely.com) we always want to hear from you.
19
20 ## Installation ##
21
22 1. This plug-in requires an active version of Parse.ly. We offer a free trial, [](http://www.parsely.com/trial/?utm_medium=referral&utm_source=wordpress.org&utm_content=wp-parselysign up here](http://www.parsely.com/trial/?utm_medium=referral&utm_source=wordpress.org&utm_content=wp-parsely](http://www.parsely.com/trial/?utm_medium=referral&utm_source=wordpress.org&utm_content=wp-parsely)
23 1. If you haven't already done so, [](http://www.parsely.com/trial/?utm_medium=referral&utm_source=wordpress.org&utm_content=wp-parselysign up for a trial of Parse.ly](http://www.parsely.com/trial/?utm_medium=referral&utm_source=wordpress.org&utm_content=wp-parsely](http://www.parsely.com/trial/?utm_medium=referral&utm_source=wordpress.org&utm_content=wp-parsely)
24 1. Download the plugin
25 1. Upload the entire `wp-parsely` folder to your `/wp-content/plugins` directory
26 1. Activate the plugin through the 'Plugins' menu in WordPress (look for "Parse.ly")
27 1. Head to the settings page for the plugin (should be /wp-admin/options-general.php?page=parsely)
28 1. Set your Site ID, which is your own site domain name (e.g., `mysite.com`)
29 1. Save your changes and enjoy your data!
30
31 **NOTE:** This plugin does not currently support dynamic tracking (the tracking of multiple pageviews on a single page). Some common use-cases for dynamic tracking are slideshows or articles loaded via AJAX calls in single-page applications -- situations in which new content is loaded without a full page refresh. Tracking these events requires manually implementing additional JavaScript above [](http://www.parsely.com/help/integration/basic/the standard Parse.ly include](http://www.parsely.com/help/integration/basic/](http://www.parsely.com/help/integration/basic/) that the plugin injects into your page source. Please consult [](https://www.parsely.com/help/integration/dynamic/the Parse.ly documentation on dynamic tracking](https://www.parsely.com/help/integration/dynamic/](https://www.parsely.com/help/integration/dynamic/) for instructions on implementing dynamic tracking, or contact Parse.ly support for additional assistance.
32
33 Feedback, suggestions, questions or concerns? E-mail us at [](mailto:support@parsely.comsupport@parsely.com](mailto:support@parsely.com](mailto:support@parsely.com) -- we always want to hear from you.
34
35 ## Tests ##
36
37 1. Follow the steps to install VirtualBox, Vagrant and `vagrant-hostsupdater` at [](http://vccw.cc/http://vccw.cc/](http://vccw.cc/](http://vccw.cc/).
38 1. Navigate to the directory on your host machine to which you downloaded vccw.
39 1. Within that directory, navigate to `www/wordpress/wp-content/plugins` and clone this repo -- `git clone https://github.com/Parsely/wp-parsely.git`
40 1. Checkout the branch on which you've been working
41 1. Navigate back up to the root of the `vccw` directory and run `vagrant up`
42 1. Ssh into the Vagrant machine with `vagrant ssh`
43 1. Navigate to `/var/www/wordpress/wp-content/plugins/wp-parsely` and run the test suite with the command `phpunit`
44
45 ## Frequently Asked Questions ##
46
47 ### Where do I find my Site ID? ###
48
49 Your Site ID is your own site domain name (e.g., `mysite.com`).
50
51 ### Why can't I see Dash code on my post when I preview? ###
52
53 Dash code will only be placed on pages and posts which have been published in WordPress to ensure we don't track traffic generated while you're still writing a post/page.
54
55 ### How can I edit the values passed to the JSON-LD metadata? ###
56
57 You can use the `after_set_parsely_page` filter, which sends three arguments: the array of metadata, the post object, and the `parselyOptions` array:
58
59 ```
60 $parselyPage = apply_filters('after_set_parsely_page', $parselyPage, $post, $parselyOptions);
61 ```
62
63 This filter can go anywhere in your codebase, provided it always gets loaded. We recommend putting it in your header file, so that it gets loaded with wp_head.
64
65 ### Is the plugin Google AMP/Facebook Instant ready?
66
67 It is! We are hooked into Automattic's official plugins for AMP and Facebook Instant. AMP support is enabled automatically if the Automattic AMP plugin is installed, and for Facebook Instant you just have to enable "Parsely Analytics" in the "Advanced Settings" menu of the Facebook Instant Articles plugin.
68
69 Official AMP plugin: https://wordpress.org/plugins/amp/
70 Official FB Instant plugin: https://wordpress.org/plugins/fb-instant-articles/
71
72 ### How do I create a local dev environment to make changes to the `wp-parsely` code? ###
73
74 See [](https://github.com/Parsely/wp-parsely/wiki/Setting-up-a-WP-plugin-development-environmentthe wiki](https://github.com/Parsely/wp-parsely/wiki/Setting-up-a-WP-plugin-development-environment](https://github.com/Parsely/wp-parsely/wiki/Setting-up-a-WP-plugin-development-environment).
75
76 ## Screenshots ##
77
78 #### 1. The main settings screen of the wp-parsely plugin ####
79 ![1. The main settings screen of the wp-parsely plugin](https://raw.githubusercontent.com/Parsely/wp-parsely/master/screenshot-1.png)
80
81 #### 2. The standard JavaScript include being inserted before `</body>` ####
82 ![2. The standard JavaScript include being inserted before body tag](https://raw.githubusercontent.com/Parsely/wp-parsely/master/screenshot-2.png)
83
84 #### 3. A sample `JSON-LD` meta tag for a home page or section page ####
85 ![3. A sample `JSON-LD` meta tag for a home page or section page](https://raw.githubusercontent.com/Parsely/wp-parsely/master/json-ld-section-screenshot.png)
86
87 #### 4. A sample `JSON-LD` meta tag for an article or post ####
88 ![4. A sample `JSON-LD` meta tag for an article or post](https://raw.githubusercontent.com/Parsely/wp-parsely/master/json-ld-screenshot.png)
89
90 ## Changelog ##
91
92 ### 2.0 ###
93 * Changes JavaScript integration to directly load tracker bundles that are customized for your specific site ID: https://www.parse.ly/help/integration/basic/. NOTE: Sites that have custom Parse.ly video tracking configured (outside of the Parse.ly WordPress plugin) for a player listed at https://www.parse.ly/help/integration/video_v2/#supported-players should contact support@parsely.com before upgrading.
94
95 ### 1.14 ###
96 * Updates AMP analytics implementation
97 * Adds ability to use a horizontal layout of the widget (for page footers)
98 * Adds itm campaign parameters to widget links for tracking performance
99 * Adds option to use original or resized thumbnail in widget
100 * Improves handling of missing taxonomy terms and other data
101 * Improves post status check
102 * Code cleanup to conform to WordPress VIP standards
103
104 ### 1.13 ###
105 * Makes AMP integration optional
106 * Adds support for publisher logo information
107 * Minor bugfixes
108
109 ### 1.12 ###
110 * Adds ability to use repeated meta tags instead of ld+json tags for metadata
111 * Code cleanup to conform to WordPress VIP standards
112 * Minor bugfixes
113
114 ### 1.11 ###
115 * Adds ability to use Parsely API with widget
116 * Adds ability to track or not track custom page and post types
117 * Adds ability to disable Javascript tracking
118 * Minor bugfixes
119
120 ### 1.10 ###
121 * Adds ability to filter final JSON-LD output
122 * Adds the ability to use a custom taxonomy as tags
123 * Adds AMP / Facebook Instant integration with official AMP / FBIA plugins from Automattic
124 * Fixes bug related to HTTPS canonicals
125
126 ### 1.9 ###
127 * Ability to assign custom taxonomies as section
128 * Bug fix related to adding section to tag field
129
130 ### 1.8 ###
131 * Updated documentation for installation and local development
132 * Allow developers to adjust the tag list and the category reported for a post
133 * Added support for themes to extend the reported authors
134
135 ### 1.7 ###
136 * Use JSON-LD / schema.org for parsely-page data instead of proprietary format
137 * Added support for multiple authors if using the Co-Authors Plus plugin https://wordpress.org/plugins/co-authors-plus/
138
139 ### 1.6 ###
140 * Maintenance release with multiple changes needed for WordPress VIP inclusion
141 * Migrated to WP Settings API
142 * Various syntax changes in line with Automattic's guidelines
143 * Removed the tracker_implementation option, plugin now uses Standard implementation for all installs
144 * Updated much of the copy in settings page
145 * Updated screenshots
146
147 ### 1.5 ###
148 * Added support for new option - "Use Categories as Tags"
149 * Fixed bug that caused wp-admin bar to be hidden when "Do not track authenticated in users" was selected
150 * Fixed WP category logic bug that failed on users with custom post types
151
152 ### 1.4 ###
153 * Added early support for post tags
154 * Fixed permalink errors on category/author/tag pages
155 * Added version output to both templates and settings pages
156 * Renamed API key to Site ID to avoid confusion
157
158 ### 1.3 ###
159 * Added option to not track or not track authenticated users (default is to not track authenticated users)
160 * Removed async implementation option
161 * Updated API key retrieval instructions
162 * Added activation/deactivation hooks
163 * null categories are now set to "Uncategorized"
164
165 ### 1.2 ###
166 * Support for using top-level categories for posts instead of the first active post the plugin finds
167 * parsely-page meta tag now outputs it's value using 'content' attribute instead of 'value'
168 * Minor fixes to outputting to use proper WordPress functions
169
170 ### 1.1 ###
171 * Added ability to add prefix to content IDs
172 * Ensured plugin only uses long tags `<?php` instead of `<?`
173 * Security updates to prevent HTML/JavaScript injection attacks (values are now sanitized)
174 * Better error checking of values for API key / implementation method
175 * Bug fixes
176
177 ### 1.0 ###
178 * Initial version
179 * Support for parsely-page and JavaScript on home page and published pages and posts as well as archive pages (date/author/category/tag)
180
181