Getting Started
Factory
Widget Configuration
Finding and using fonts for your widget
Customizing your widgets using Additional CSS
Using passbacks when widget is empty
Disable device storage (localstorage, cookies)
Content Share
How can I use a preamble for my v2 widgets?
How can I use the article source for my v2 widgets?
Widget Implementation
Adding a widget to your site
Testing the widget on a live site
Testing the widget in your test environment
Content Recommendations
Selecting articles to recommend
Elements of an article recommendation
Images in content recommendations
Widget FAQ
Can I have more than one widget?
How do I add multiple widgets to a page?
How do I add a widget in an iframe or through Ad Manager?
Does the widget work with infinite scroll?
Can I use the widget in WordPress?
Will the widget affect my Google ranking or SEO?
Will the Strossle widget slow down my website?
How does Strossle measure impressions?
Do you use other methods than cookies for storing or accessing information on a user's device?
Widget Troubleshooting
Insights
Manager
Marketplace
Introduction
Ad Sets
Introduction to Ad Sets
Prioritization of Ad Sets
Targeting Article Categories
Targeting Site Types
Choosing Delivery Mode For Your Ad Set
Ad Creatives
Introduction to Ad Creatives
The Art of Writing Great Headlines
Choosing the Perfect Image for Your Content
Using your own impression pixel
Including referrer in your click URL
Measuring engagement with your landing page
House Ads
Marketplace FAQ
Why is my campaign not getting enough traffic?
Can I select or exclude certain publishers?
Why does currency of my campaigns differ?
Can I change currency?
How does Strossle handle traffic from bots?
How often is the forecast updated?
Do you provide a campaign reporting API?
Can multiple Creatives from the same Ad Set show up in the same placement?
Why does my tracker report less clicks or impressions?
- All Categories
- Factory
- Widget FAQ
- How do I add a widget in an iframe or through Ad Manager?
How do I add a widget in an iframe or through Ad Manager?
Updated
by Joakim Stenberg
If you are implementing the widget through Google Ad Manager in an iframe, then the implementation differs from the usual way.
Widget v2
Find the implementation tags that we have sent to you.
Copy both the div part and the script part in the <body> section of your iframe or Ad Manager implementation.
If one page has multiple widgets, every iframe must include both parts. In other words the div tag and the script tag must be inserted in Ad Manager for every widget implementation.
<div class="strossle-widget"></div
<script>window.strossle=window.strossle||function(){(strossle.q=strossle.q||[]).push(arguments)}; strossle('5ca6fbaf-g6a7-4117-9b6e-9054094c3dec', '.strossle-widget');</script
<script async src="https://assets.strossle.com/strossle-widget-sdk/1/strossle-widget-sdk.js"></script>
Note: This is only an example, do not use.
Widget v1
For a v1 widget paste our widget tags as illustrated below.
If one page has multiple widgets, every iframe must include a script tag. In other words the div tag and the script tag must be inserted in Ad Manager for every widget implementation.
<div data-spklw-widget="8ac65e2f-c85f-5217-5t98-6889342c3dec"></div
<script src="//widgets.sprinklecontent.com/v2/sprinkle.js" async></script>
Note: This is only an example, do not use.