Need any help?
You will find most frequently asked questions below. Still having issues? Please contact us. Our technical staff loves to help you out.
Where do I place this script?
<head> tags.What does this script do exactly?
Will this script slow my website down?
How do I place a script like this one on my website?
My consent tool labels the script as "unknownVendor" or blocks it. How do I fix that?
What's happening: Your consent tool decides per script host what may run. Either it does not know cdn.foodinfluencersunited.com, labels the script unknownVendor and blocks it for everyone, or it knows us but has filed us under marketing, so the script only runs for visitors who accept.
What to do: two steps, and the second one is the one that matters.
- Make your tool recognise us. Add Food Influencers United as a known service for the host
cdn.foodinfluencersunited.com. Your tool may call this a custom vendor, a manual service, an allowlist or whitelisting a script; consentmanager, Real Cookie Banner, Borlabs Cookie, Complianz, Cookiebot, OneTrust and Usercentrics all support it. - File us as functional, not marketing. Put the service in the functional category (also called essential, necessary or technically required). Only then does the script run for visitors who do not accept. Do not wrap the script in your tool's blocking syntax (a content blocker rule,
cmplazyload, a script blocker): that has the same effect as marketing.
Tip: Functional, not marketing
The script sets no cookies, stores nothing in the browser, uses no identifiers and does not keep IP addresses, so it does not need consent to run. Filing us under marketing is not safer, it only switches the FIU functionality off for everyone who declines. The installation page has the paragraph for your privacy policy and the legal details.
How to check: Open one of your pages in a private window and do not click the cookie banner. Right-click the page, choose Inspect, and search (Ctrl+F, or Cmd+F on a Mac) for foodinfluencersunited. If you find a <script> with src="https://cdn.foodinfluencersunited.com/tagLogic.js", the script runs for everyone. If the only match is a script with type="text/plain", type="application/consent" or data-cmp-src, it is still blocked. No match at all means the script is not installed on that page.
Rather not dig into the code? Send us your site's URL at [email protected] and we'll confirm it's live and help you finish up.
Clicking a supermarket button opens the widget as a full page instead of on top of my page. How do I fix that?
What's happening: The widget normally opens on top of your page, in a frame from tobasket.com. When your page does not let that frame load, the script opens the same widget as a full page on tobasket.com instead, in the same tab. Your visitors can still shop and order there, and the back button brings them back to your recipe.
What to do: one of two things stops the frame. Open your browser console on the recipe page and look for the message that starts with [FIU]: it names the cause.
- Your site's security policy. Some sites send a Content-Security-Policy: a list of hosts the page may load content from, managed by your developer, your host or a security plugin. If that list has a
frame-srcline (orchild-srcordefault-srcwhenframe-srcis missing), the browser only shows frames from the hosts on it, including the frame our script adds. Addhttps://tobasket.comandhttps://*.tobasket.comto that line; the wildcard alone does not cover tobasket.com itself. - Your consent tool. Some consent tools, consentmanager among them, hold back a frame from a host they do not know, even after the visitor accepts everything. Add
tobasket.comto the Food Influencers United service, next tocdn.foodinfluencersunited.com, so the frame follows the same setting as the script. The consent tool FAQ explains that setting.
Not sure which applies? Send us your site's URL at [email protected] and we'll check it for you.
How is the placement of the buttons determined?
<div class="fiu-button-container"></div> to the desired location on your page. Option 2: let us handle it. We can configure the button placement on our side so you don't have to change your page templates.What should I do when my URL structure changes?
What should I do when my page layout or HTML changes?
<div class="fiu-button-container"></div> element on your pages yourself, just make sure it stays in place after the changes. That's all! If the button placement is managed by FIU, please drop us an email at [email protected] and we'll update the configuration to match your new page layout.I'm migrating to a new website, what should I check?
- We assume your domain stays the same. If it's changing, email [email protected] first so we can coordinate.
- schema.org markup is mandatory on your recipe and product pages. Without it, FIU can't identify your content on the new site.
- Reinstall the CDN script on the new website. See the Installation page for the snippet.
- Keep your URL paths identical where possible. This minimises downtime and avoids a re-indexing window. See the URL-structure FAQ if paths do need to change.
- Button placement still works the two ways described in the placement FAQ. Pick the one that fits your new templates.
- Let us know your toggle window by emailing [email protected] so we can be on standby during the switch.