Skip to main content

Pinpoll Inspire AI Tag

Ways to integrate our AI solution Pinpoll Inspire

Written by Theresa Kirchner

You may already have wondered what integration options our AI solution Pinpoll Inspire offers. In this article we have put together an overview of the possible combinations for you.

Before you take a look, though, it is important to know the requirements for using Pinpoll Inspire. We have added the standard integration as an example. There you can see that our global.js and the basic AI tag are required:

<script src="https://tools.pinpoll.com/global.js" async></script>

<div class="pinpoll" data-mode="aipoll"></div>

But what exactly does the placeholder do? Here is a short explanation:

  • Automated delivery of approved poll suggestions. Suggestions are made available to you in your Pinpoll Cockpit; once you approve them, they are published on the article automatically. You can also define a URL yourself and use it to generate and publish a suggestion.

Below we show you how our AI solution can be extended with interesting and useful integrations:

Integration with autoplay

The "data-autoplay" parameter lets you load further polls automatically after the AI poll. Preference is given to elements that:

  • were created in the last 5 days,

  • have been voted on frequently ("are popular"),

  • come from the same category,

  • have not yet been voted on by the current visitor,

  • have a suitable height (requires data-height to be set) and

  • if available: polls from the same path in the case of AI polls (URL matching).

In the following example, 3 polls are delivered automatically after the AI poll:

<div class="pinpoll" data-mode="aipoll" data-autoplay="3"></div>

Integration with topics, without autoplay

Here you have the option of first showing an AI-generated poll and then polls from a topic pool. If no AI-generated poll has been defined, the first poll from the topic pool is shown automatically, and you can switch manually to the next poll in the pool.

<div class="pinpoll" data-mode="aipoll" data-topic="Sport"></div>

Integration with topics and autoplay

Here you have the option of first showing an AI-generated poll and then polls from a topic pool. If no AI-generated poll has been defined, the first poll from the topic pool is shown automatically. With the autoplay feature, the next poll is shown automatically after 5 seconds.

<div class="pinpoll" data-mode="aipoll" data-topic="Sport" data-autoplay></div>

Did this answer your question?