|Topics: Connector · Videos|
|Experience Level: Intermediate|
|April 28, 2019 · 5 min read|
You wouldn’t normally want to add a subscription option for a single video of course, but rather to all, or a section, of the catalogue of videos you are serving. For the purposes of our example, we will create a 1 month subscription and a time pass for three videos.
Once again, we have put together a short video outlining the key steps: https://youtu.be/cWQ77rZ3DXw
Now let's get started.
Step 1: Creating a Subscription
Go to the Connector interface and select ‘Subscriptions,’ then click on the plus button to create a new subscription. This will bring up a number of options to define what your subscription will look like.
Figure 1: Subscriptions Configuration Window
Let’s briefly review the different options and walk through the steps we took in our video example:
Title: This is how the subscription will be named. Since this will be displayed to the end user, it makes sense to give it a meaningful name, such as “1 Month Subscription.”
Description: Just like the title, the description will also be visible to the end user. With that in mind, you want to make sure you provide a descriptive name that is easy to understand, such as “Subscribe to All My Videos for a Month!”
Match Type: When we were setting up a single purchase, we talked about the Exact Path and ArticleID. For subscriptions, we also have the option for a “Path Prefix Match”, which matches all sites that have a certain path prefix. This is going to be particularly useful when you want to define which videos the subscription should apply to. In our case, given that we have two videos under the prefix ‘/connector-script/videos/’, we can select that path prefix and put it into the text box - for your own site, choose the path in which the relevant content is gathered.
Path/Paths/ArticleID: Much like with the Single Purchase, you will be defining the corresponding value here, based on which Match Type is selected. As mentioned above, we will have /connector-script/videos/ set as the value here.
Validity Period: As you might expect, we use this option to determine for how long the subscription will be valid - in our case it will be 1 Month.
Price: We set the price for the one month subscription, just as we did for the single purchase. Let’s say $4/4€ (400).
Template: For videos, you can omit the template altogether, as this is used for selecting which part of a paid text will be hidden behind the paywall.
Figure 2: Setting the Price
After clicking on ‘Save,’ if you have applied the Subscription to multiple videos, you now should see an overlay on each of them; you should also see the Subscription added to any other overlays you already have as an additional purchase option.
Figure 3: The Completed Subscription
Figure 4: The Subscription Option Added to the Overlay
Step 2: Creating a Time Pass
You can similarly add a Time Pass to your content by following almost the exact same steps as you did for a Subscription, only using the Time Pass category.
For the example in our video, we made it a bit more interesting - adding a time pass only for two of the videos referenced (#1 and #2), not all of them. We did this in order to demonstrate how to use article paths, rather than defining a path prefix match.
Please refer again to the video to confirm how this is done!
Figure 5: The Time Pass Configuration Window
Figure 6: Adding the Exact Paths for Multiple Videos
Figure 7: Setting the Duration and Price of the Time Pass
Figure 8: The Time Pass Option Added to the Overlay
You’re are all done! Congratulations on successfully adding subscriptions and time passes to your site!
If you’re ready to learn more, we will next take a look at using in-page configuration and ArticleIDs.