<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=442498563201411&amp;ev=PageView&amp;noscript=1">

Connector for Articles: Advanced Scenarios

img-integrations-other
Topics: Connector · Articles
Experience Level: Advanced
October 21, 2019 · 10 min read

 

 

 



 

In the following section, we outline some specific scenarios for using the LaterPay connector that will be of interest to advanced audiences.

 

Scenario 1: Bundling Articles Together: allowing users to buy a number of articles in a single purchase

Objective: Sell three articles as a bundle, meaning that users can buy all three of them in a single purchase
Video Tutorial: https://youtu.be/l0AeecVZ-dk

 

 


In this scenario we are going to be using the single purchasing option of the connector interface.

You first need to define which articles are going to be sold. Prepare the URLs of these articles - we are going to be inserting them into the single purchase creation interface. Moreover, don’t forget that you need to include the connector script on each article!

You then need to create a new single purchase. The match type will have to be Exact Path, and we will record each of the URL by adding them using the Add Path button. At the end, you should see a purchase overlay appear on all the articles that you added. Purchasing one of the articles should now unlock all three of them.

 


Scenario 2: Selling Three Articles Separately

Objective: Sell three articles separately, meaning that users will need to buy each article separately to see the content.
Video Tutorial: https://youtu.be/OsvfjPYQi8E
 

In this scenario we are going to be using the single purchasing option of the Connector interface to define three purchasing options, all mapping to single articles on the mock webpage. Don’t forget to include the connector script on each article for which a single purchasing option is created.

You then need to create a new single purchase for each article, inserting the URL of the corresponding article as an exact match, and pricing the articles individually. At the end, you should see a purchasing overlay appear on all three articles, however with different prices set for each, corresponding to the price set in the individual pricing section.
 

Scenario 3: Defining a Monthly and Weekly Subscription for a Particular Article Type

Objective: Create a monthly and a weekly subscription for three articles in the same category
Video Tutorial: https://youtu.be/ticN4TE-zH0
 

In this scenario, we are going to define two subscriptions for a specific article type. The main assumption here is that the articles uniquely share a common URL prefix - put another way, you can distinguish the category you want to apply these purchasing options to by their URL path. If this is not the case for you, you might look at later scenarios , which leverage ArticleIDs to select the articles included in the subscription.

First, we need to create a weekly subscription, specifying a title and a description. Then, we select “Path Prefix Match” as the Match Type option, as we want the subscription to be applied to all articles in this particular category. Then select the price and link the purchasing option to the template.

Finally, do not forget to make sure the pages you want to apply your subscription paywall on are all loading the connector script.
 

Scenario 4: Defining a Two Hour and a One Day Time Pass for a Particular Article Type

Objective: Create a two hour and a 1-day Time Pass for three articles, all of which are in the same category
Video Tutorial: https://youtu.be/Wu4obrrMgIc
 

In this scenario, we are going to define two Time Passes for a specific article type. The main assumption here is that the articles uniquely share a common URL prefix- put another way, you can distinguish the category you want to apply these purchasing options to by their URL path. If this is not the case for you, you might look at later scenarios, which leverage ArticleIDs to select the articles included in the Time Passes.

First, we need to create a two hour Time Pass, specifying a title and a description. Then, we select “Path Prefix Match” as the Match Type option, as we want the subscription to be applied to all articles in this particular category. Then select the price and link the purchasing option to the template.

Finally, do not forget to make sure the pages you want to apply your subscription paywall on are all loading the connector script.
 

Scenario 5: Bundling Articles Together: A user can buy a number of articles as a single purchase (using ArticleID)

Objective: Three articles will be sold as a bundle, meaning that the users can buy all three of them in a single purchase
Video Tutorial: https://youtu.be/nII56zJe-cg


In this scenario, we will bundle articles together and sell them via ArticleID In-Page property.

To get started, you first need to add the ArticleID to each article, by inserting the In-Page connector configuration before the connector script.

Once that is done, we proceed to creating a single purchasing option that references that ArticleID. To do this, click on New Single Purchase, type in a title, and select Article ID from Match Type options.

Add the ArticleID to the text box, specify the price and payment type, link to template, and your paywall will be created!
 

Scenario 6: Selling Articles Separately (Using ArticleID)

Objective: Three articles will be sold separately via ArticleID
Video Tutorial: https://youtu.be/h3UewXqW0Zw


In this scenario, we will be selling articles separately by associating individual single purchases with ArticleIDs defined uniquely for each article.

We first need to add a separate ArticleID to article in the source code. Do not forget to insert the ArticleIDs via in-page configuration before the connector script.

Once that is done, you need to reference the ArticleIDs from the individual single purchasing options. First, create a single purchasing option for the first article, and reference the ArticleID for that article. Then repeat these steps for all the articles you intend to sell individually, creating a purchase overlay for all of them, but with individual pricing.
 

Scenario 7: Defining a yearly and a monthly subscription for a particular article type by using ArticleIDs

Objective: Create a yearly and a monthly subscription for four articles in two different categories using the ArticleID property
Video Tutorial: https://youtu.be/N-fantCJgaY
 

 

 

In this scenario, we are going to define two subscriptions for articles spanning two different categories: sports and the economy. The same article types will need to be linked with the same ArticleID, which will be referenced from the defined subscriptions. As a result, we need to add the In-Page configuration to the targeted articles, associating them with the ArticleID to be used.

After that is completed, we need to create a monthly and a yearly subscription, specifying a title and a description. Then, we select “Article ID” as the Match Type option, inserting the ArticleID into the text box. To conclude, we select the price and link the purchasing option to the template.

Finally, do not forget to make sure the pages you want to apply your subscription paywall on are all loading the connector script underneath the In-Page configuration.
 

Scenario 8: Defining a 2 hour and a day Time Pass for a particular article type by using ArticleIDs

Objective: Create a two hour and a 1-day Time Pass for three articles, all of which are in the same category, using the ArticleID property
Video Tutorial: https://youtu.be/v7hPWe1GoPk


In this scenario, we are going to define two Time Passes for articles spanning two different categories: sports and the economy. The same article types will need to be linked with the same ArticleID, which will be referenced from the defined Time Passes. As a result, we need to add the In-Page configuration to the targeted articles, associating them with the ArticleID to be used.

After that is completed, we need to create a two hour and a 1-day time pass, specifying a title and a description. Then, we select “Article ID” as the Match Type option, inserting the ArticleID into the text box. To conclude, we select the price and link the purchasing option to the template.

Finally, do not forget to make sure the pages you want to apply your subscription paywall on are all loading the connector script underneath the In-Page configuration.
 

Scenario 9: Combining the Purchasing Options: Defining a single purchase and a subscription

Objective: Create a subscription for multiple articles, and a single purchase on one article using ArticleID
Video Tutorial: https://youtu.be/N98qrXa4NA8


In this scenario, we are going to define a subscription for articles of the same category, and then proceed to define a single purchase for one article, by using ArticleID. This is important when introducing multiple ArticleIDs for a single article.

We firstly need to define an ArticleID for the Subscription - let us call it “Subscription”. After all the articles have this ID associated with them, we need to create a subscription offering for this ArticleID, resulting in subscriptions being visible for these articles.

Now, we need to add an additional ArticleID to one of the articles that we’ve chosen to sell separately. Let’s add the “SinglePurchase” ArticleID to the selection of ArticleIDs belonging to that respective article.
 

<script type="application/json" id="laterpay-connector">
{
"articleId": ["SinglePurchase","Subscription"]
}
</script>


Finally, by defining a new single purchase option with that ArticleID, you will see that it is added to the purchase options list for that article only.