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 do I prevent Widgets from displaying the same recommendations?
How does Strossle measure impressions?
Widget Troubleshooting
My widget is showing old article recommendations
My widget is not showing
My widget is too wide/too narrow
Ads.txt
Insights
Manager
Introduction to Manager
Exclude ads using third-party trackers
Find and configure your Ads.txt records
Marketplace
Introduction
Ad Sets
Introduction to Ad Sets
Prioritization of Ad Sets
Targeting 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
Adding a sclid macro to your Ad Creatives
Ad Creative Optimization
Using your own impression tracker
Including referrer in your click URL
Ad Specification
Measuring conversions per Ad Creative
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 may Strossle reporting differ from third-party reporting tools?
Scraper
- All Categories
- Factory
- Widget FAQ
- How do I prevent Widgets from displaying the same recommendations?
How do I prevent Widgets from displaying the same recommendations?
Widgets implemented directly on the page communicate with each other and are able to prevent the same ad recommendations and editorial content recommendations from being shown on more than one placement.
You do not have to do anything to enable this feature, it happens automatically.
When you implement Widgets through iframes, i.e. by letting your ad server load the Widget, the communication breaks. Hence, when implementing Widgets through iframes, chances are that the same recommendations you see in one of the Widgets are repeated in other Widgets of the page.
The same is true if you implement one Widget directly on the page and another Widget through an iframe. This will break communication between the two Widgets as they are loaded in different environments, hence, the same recommendation can be displayed in both Widgets.
How can I prevent duplicates when multiple widgets on my page are loaded through iframes?
You can pass a page session ID (i.e. a UUID such as 42a5001f-26ce-4d98-a987-694dd79266ef
) to the iframe and on to the widget configuration. By doing so we will be able to tell what article and ad recommendations that was already displayed on the page and thereby return other recommendations instead.
<script>
window.strossle=window.strossle||function(){(strossle.q=strossle.q||[]).push(arguments)};
strossle('_YOUR_WIDGET_ID_', '.strossle-widget', {
pageSessionId: '_UNIQUE_PAGE_SESSION_ID_',
});
</script>
<script async src="https://assets.strossle.com/strossle-widget-sdk/1/strossle-widget-sdk.js"></script>