- 3 Minutes to read
Content consumption (deprecated)
- 3 Minutes to read
The Content consumption module was introduced to encourage your customers to engage with your content, whether it’s reading blog posts, visiting seasonal campaign landing pages, or watching your videos.
To track actions related to content consumption, the JavaScript SDK must be implemented on the site where the content is accessible. Please note that the JavaScript SDK has been deprecated, please contact the Antavo Service Desk for further information.
Once the JavaScript SDK is set up, the solution works seamlessly. The only configuration needed is to specify the content and the number of points you want to reward members for watching or reading. Visitors will receive their points after scrolling halfway down the page or playing half of the video.
To enhance the experience and ensure fair point allocation, we have introduced the beta version of the content quiz functionality. If you’re interested in adding quizzes, please submit a ticket through the Antavo Service Desk.
To access the configuration page, open the Modules menu and search for the Content consumption module The page will open up to a list of contents that have already been set up with the following information:
Title | Title of the content |
URL | The URL where the content is accessible |
Quiz | If a quiz is attached or not (yes or no) |
Points | Points to earn |
The items are grouped based on type (Page visit and Video).
Adding new content
Click the Create new content button in the sidebar
Select the type of content that you’d like to reward
The available options are Video (Vimeo and Youtube video views) and Page visit (any URL).Enter the title of the content
Enter the URL where the content is accessible
Set the number of points you want to assign
Points are only awarded once for each customer for the first time when visiting the page or watching the video.
Quiz EARLY ACCESS
If you want to attach a quiz, turn on the Quiz radio buttonEnter a question
Add up to 10 possible answers
Select the correct answer
Click Create at the bottom of the page
Content consumption on the membership site
The /customers/{customer_id}/activities/content-consumption endpoint of Antavo’s Display API allows you to retrieve the list of content consumption items for each customer. The response includes all the necessary information, including the content URL, to display the point-earning option(s) on the membership site.
Managing contents
Edit a content
You can always edit existing content. While you can only edit one piece of content at a time, you can save multiple content edits in a single session.
Go to the Content consumption module configuration page
Click the Edit button of the content you’d like to edit
Modify the settings
Click Update
Delete a content
Go to the Content consumption module configuration page
Click the Edit button of the content you’d like to edit
Click Delete in the top right corner of the configuration page
Confirm your choice in the appearing dialog