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>", //mandatoryuserId: "<THE_USER_ID>", //mandatorymode: "device|reading", // copy paste observer works with these two modescopyPasteObserver: {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>
Param | Type | Description |
---|---|---|
siriusCapping.config.brand | string | A brand uuid that we'll give you |
siriusCapping.config.userId | string | The ID of the user, that you can write encrypted or hashed |
siriusCapping.config.mode | string | Two modes are available, reading (default) and device . Copy Paste Observer works with these two modes |
siriusCapping.config.copyPasteObserver.enable | bool | Set it to true if you want to activate Copy Paste Observer |
siriusCapping.config.copyPasteObserver.characterLimit | int | A 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>", //mandatoryuserId: "<THE_USER_ID>", //mandatorymode: "device|reading", // copy paste observer works with these two modescopyPasteObserver: {enable: true,characterLimit: 140, // Number of characters copied from which you want to trackprependToClipboard:"<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>
Param | Type | Description |
---|---|---|
siriusCapping.config.copyPasteObserver.prependToClipboard | string | Add a message before the copied content |
siriusCapping.config.copyPasteObserver.appendToClipboard | string | Add a message after the copied content |
siriusCapping.config.copyPasteObserver.replaceToClipboard | string | Replace copied content by another |