Subscriber Segmentation

If you have paid subscription plans for your site, Parsely supports the ability to view the behavior of those users in a separate dashboard while still maintaining a view of your entire audience.

Enabling subscriber tracking requires you to make a small change to your implementation and then notify support@parsely.com to enable the dashboard view or views.

Note

Depending on your Parsely plan, subscriber tracking may result in additional charges. Contact support@parsely.com for more information.

To enable subscriber segmentation, you'll need to send Parsely additional information about the plan a user is subscribed to. Here's an example of overriding the tracking code for a user that is subscribed to the "basic" plan:

<script>
(function(w) {
  w.PARSELY = {
    autotrack: false,
    onReady: function() {
      PARSELY.updateDefaults({
        data: {
          plan: "basic"
        }
      });
      PARSELY.beacon.trackPageView();
    }
  };
})(window);
</script>

Important

This code must be placed before your Parsely tracking snippet.

Notice in the snippet above that in the call to PARSELY.updateDefaults, we provide an object like so:

{
  data: {
    plan: <name of plan>
  }
}

You must pass an object that matches this shape. The data.plan attribute can be any string that uniquely identifies the name of the plan. If the current user isn't subscribed to any plan, set data.plan to null or skip the call to PARSELY.updateDefaults.

Once you have made your integration changes, decide whether you need just one "Paid Subscribers" dashboard view which covers any paid subscription plan or a view per subscription plan. We usually recommend starting with a general "Paid Subscribers" view first.

Send an email to support@parsely.com letting us know of the possible plans (i.e. all the possible values of data.plan) and if you'd prefer a general "Paid Subscribers" dashboard view or one view per plan.

Do you have an urgent support question?