How to integrate Parse.ly Analytics on a simple website
Depending on the way your website is set up, either you or your web developer can integrate Parse.ly analytics easily into your site and get performance data for your content.
#Do I need my web developer to integrate Parse.ly?
If you use WordPress or Drupal as your Content Management Software (CMS), you most likely do not need your developer to get started. Parse.ly has plugins for these sites that automatically provide the tracking code and metadata insertions that you need on each page.
To get started:
- Sign up for Parse.ly to get an active account.
- Follow the WordPress plug-in directions or Drupal plugin directions. You’ll need to have some general familiarity with your WordPress or Drupal site structure to upload the plugin to the correct directory and to set your Site ID (your site domain name) on the settings page.
- Start viewing the Parse.ly dashboard to get insights on your website data.
If you do not have a WordPress or Drupal site, or if you have Single Page Applications (SPAs), you can have your developer use the following steps to get started.
#Parse.ly integration for developers
You can set up Parse.ly analytics for your site in just a few steps, as shown below:
Sign up for Parse.ly if you do not yet have an active account.
After signing up for Parse.ly, you should see a screen that summarizes the subsequent steps for setup. When you click Continue, you’ll be prompted to select an integration method that corresponds to any frameworks or tag managers running on your site. Currently, Parse.ly has built-in integration methods for the following:
If you select one of these methods, you’ll be prompted to install the Parse.ly plugin for that method.
If none of the methods apply, click the Integrate Manually button on the setup screen.
- Install Parse.ly code.
If you install a Parse.ly plugin for a built-in integration method, the tracking code for every site page will be included automatically, with a few exceptions. These exceptions include pages with dynamic tracking or if your WordPress theme does not render a footer.
If you click Integrate Manually because your site does not run with one of the listed frameworks or tag managers, you will need to add two elements to each of your pages:
- Metadata on the page to be used by Parse.ly servers for follow-up queries.
To specify metadata information on your webpages, you can provide it in JSON-LD (the recommended method), or with repeated metatags, or by using the /metadata API endpoint. For more information, see Providing metadata.
You can use the Parse.ly validator tool to check if both the tracker and metadata are correct for a webpage.
To better understand how the integration process works with Parse.ly technology, refer to the following graphic. By installing the tracker on each page, all traffic is tracked by Parse.ly servers without affecting response time. Similarly, the metadata on each page is used by the Parse.ly crawler without affecting response times.
- After installing the tracker and the metadata, click the button that shows: I’ve installed the tracker.
- Specify your time zone and click Start Tracking.
- Check live traffic.
You should see the Parse.ly Welcome dashboard showing performance data for your site, similar to the one shown below: