Table of content

Optimize monetization with the referrer policy


What is the referrer policy?

It may be required to adjust the referrer-policy string to match your own privacy policy or integration requirements. The Dailymotion video Player relies on the referrer passing the full URL to provide valuable products to publishers. By default, our Player won’t specify the referrer-policy setting, if no referrer-policy is set the browser’s default policy will be applied.

You have full control over how much data is available in the referrer. If you want the Dailymotion Player to receive the full URL in the Referrer HTTP Header you need to add no-referrer-when-downgrade to the referrer-policy parameter in the Player embed code.

Please see the embed examples below on how to adjust the policy when using web embeds.

Important:

The referrer policy has to be defined at Player creation

Examples

Player Embed Script

<script src="https://geo.dailymotion.com/player/{Player ID}.js" data-video="x84sh87" referrerpolicy="no-referrer-when-downgrade"></script>

Player Library Script

dailymotion.createPlayer("player", {
  video: "x84sh87",
  referrerPolicy: "no-referrer-when-downgrade",
});

iFrame embed

<iframe src="https://geo.dailymotion.com/player.html?video=x84sh87" allow="autoplay; fullscreen; picture-in-picture" allowfullscreen frameborder="0" width="640" height="360" referrerpolicy="no-referrer-when-downgrade"></iframe>