Skip to main content
All CollectionsQuid Monitor Pulses
Embedding Pulse Widgets in HTML
Embedding Pulse Widgets in HTML

Follow instructions for embedding pulse widgets in an HTML page.

Stephanie avatar
Written by Stephanie
Updated over a year ago

To embed a pulse widget in an HTML page:


1. Copy the following code to your Clipboard:

<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)) 

{js=d.createElement(s);js.id=id;js.src=p+"://admin.netbase.com/cb/pulse/embed/embed.js";fjs.parentNode.insertBefore(js,fjs);}}

(document,"script","embed-js");</script>

<div class="netbase-widget sub-container" data-type="mentions" data-id="af0a69e5-1989-4dc2-a697-7d5a2e13eaba"></div>

2. Open an HTML page for editing.


3. Copy the code into the HTML page.


4. Modify only the portions of the code that are highlighted below:

For data-type, use one of the following values to specify the widget type:

Widget Type

data-type Value

Emerging Topics

emerging_topics

Geo Hotspots

geo_hotspots

Image Pulse

images

Impressions

impressions

Mentions

mentions

Most Recent

most_recent

Most Impressions

most_impressions

Most Retweets

most_retweets

Net Sentiment

net_sentiment

Retweets

retweets

For data-id, copy the ID number from your own Pulse URL:

Example HTML page:

Result:

Did this answer your question?