Copy Paster Observer

Capping can help you find out how your users are using copy/paste. If you want to prevent subscribers from sharing their account, you'll probably want to prevent your subscribers from copying your content and sharing it with their friend. Wouldn't you?

Copy Paste Observer will analyze the use of the "copy" feature, and will be able to modify the copied content.

Copy Paster Observer without any change in the copied content, just monitoring

User journeys

  • USER 1 reads a paid article
  • USER 1 copies the content to send it to a friend

JavaScript integration

You previously learned how to use Capping to detect and block simultaneous readings, or simultaneous devices. Now, you can add to your Capping integration dedicated configuration for Copy/Paste tracking.

<script>
var siriusCapping = window.siriusCapping || {};
siriusCapping.config = {
brand: "<BRAND_UUID>", //mandatory
userId: "<THE_USER_ID>", //mandatory
mode: "device|reading", // copy paste observer works with these two modes
copyPasteObserver: {
enable: true,
characterLimit: 140, // Number of characters copied from which you want to track
},
};
</script>
<script async src="https://capping.sirius.press/sdk.v1.0.0.js"></script>
ParamTypeDescription
siriusCapping.config.brandstringA brand uuid that we'll give you
siriusCapping.config.userIdstringThe ID of the user, that you can write encrypted or hashed
siriusCapping.config.modestringTwo modes are available, reading (default) and device. Copy Paste Observer works with these two modes
siriusCapping.config.copyPasteObserver.enableboolSet it to true if you want to activate Copy Paste Observer
siriusCapping.config.copyPasteObserver.characterLimitintA number of characters copied from which you want to track

Copy Paster Observer with changes on the copied content

User journeys

  • USER 1 reads a paid article
  • USER 1 copies the content to send it to a friend
  • USER 1 pastes the copied content into an email, but sees that the content has been modified.

JavaScript integration

Use replaceToClipboard or prependToClipboard and/or appendToClipboard to change copied content.

<script>
var siriusCapping = window.siriusCapping || {};
siriusCapping.config = {
brand: "<BRAND_UUID>", //mandatory
userId: "<THE_USER_ID>", //mandatory
mode: "device|reading", // copy paste observer works with these two modes
copyPasteObserver: {
enable: true,
characterLimit: 140, // Number of characters copied from which you want to track
prependToClipboard:
"<br>You can share an article by clicking on the share icons at the top right of it. " +
"<br>\nThe total or partial reproduction of an article, without prior written authorization is forbidden " +
'<br>\nTo know more, please read our <a href="#">legal terms</a>. <br><br>\n\n',
},
};
</script>
<script async src="https://capping.sirius.press/sdk.v1.0.0.js"></script>
ParamTypeDescription
siriusCapping.config.copyPasteObserver.prependToClipboardstringAdd a message before the copied content
siriusCapping.config.copyPasteObserver.appendToClipboardstringAdd a message after the copied content
siriusCapping.config.copyPasteObserver.replaceToClipboardstringReplace copied content by another
Edit this page on GitHub