With Parsely's Drupal plugin you can implement Parsely on your Drupal install without having to do any extra integration work! Just follow the steps below.
- Download and install the Drupal plugin from https://www.drupal.org/project/parsely
- Enable the Parsely module in the “Modules” page of Drupal under the “Statistics” Subheading and hit save.
- Go to the Parse.ly settings page at: Configuration > Search And Metadata > Parse.ly
- Enter the Parse.ly Site ID (You can find your Site ID on your your settings page) and configure the plugin according to how your Drupal site uses nodes and / or taxonomies (the plugin requires you to choose one or the other to work).
- Click “Save” and your integration is ready to go!
Detailed Plugin Settings Breakdown¶
This section details the configurable options available to you in the Parsely Drupal plugin, and where applicable tips and suggestions for using them!
Use content (node) types or vocabulary (taxonomy) as sections?¶
The Parsely Drupal plugin allows you to use content (node) types or vocabulary (taxonomy) types for populating the section tag. You must choose one or the other for the plugin to work. Your site probably already has nodes and taxonomies in place, and you can use whichever makes the most sense to you, but if this is a new site it may be worth looking at Drupal’s documentation on the subject:
If unsure, in general a Drupal setup often uses nodes to track content types (posts, pages, etc) and taxonomies to track sections and keywords, though please check with your web developer if you are unsure about this!
Node Types To Track¶
This selects which nodes will be tracked in the Parsely dashboard and which will not. If you opted to use content (node) types in the previous setting, these will also be your available sections.
Use Taxonomy Term As Section Settings¶
Select the taxonomy vocabulary to use for Parse.ly sections. If there are multiple terms in the vocabulary, a single term from this vocabulary will be chosen for each tracked node, where applicable, using the criterion in the next plugin setting.
Section Term Selection Criteria¶
If you use taxonomies for an article section, please keep in mind that due to the taxonomy structure you must select a section term selection criteria if applicable. This criteria is especially useful if you want to only use top-level sections in the Parsely dashboard (I.E. if the taxonomy is hierarchical, you can use the highest-level term or highest-level ancestor to populate the article section with the highest level term). For example, if “Local” and “Metro” are children of “News”, then selecting “Highest-level ancestor” will show any tracked nodes as in the “News” category in the Parsely dashboard.
Select which taxonomies will be tracked as tags.
Track Authenticated Users¶
Choosing “No” here will stop Parsely from tracking logged in user activity. Note that you will no longer see Parsely tracking code if you are logged in and this setting is set to Yes.
Content ID Prefix¶
If you use more than one content management system (e.g. Drupal and WordPress), you may end up with duplicate content IDs. (A common scenario for this, for example, is a publisher using Drupal for their main site and Wordpress to power their blog). Adding a Content ID Prefix will ensure the content IDs from Drupal will not conflict with other content management systems.
Override default thumbnail¶
You can use this field to override the default thumbnail that Parsely will use in its dashboard.
Multiple Authors Support¶
For sites that do not use the standard configuration for content authoring, you can change those settings here- most sites will not need to touch this, but if you use multiple authors you will have to enter the author field machine_name here as well as the field type if applicable.