How to avoid the third-party cookies restriction in promotions embedded in an external website? Follow
When you insert the widget code of your promotion into your website, an iFrame is generated with the content of the promotion. The content of the iFrame will be considered as third party content on the web. This means that the promotion cookies become third-party cookies on the client's website.
If the user's browser has third-party cookies disabled, any attempt to initialize a cookie by the promotion will be blocked. By default, this restriction is enabled in all mobile device browsers, which won’t allow third-party cookies.
A common situation is users connected from their mobile devices who try to participate in promotions embedded in a website with the Login or Autologin system enabled. They cannot get past the Login screen, because a participant session cannot be created.
To avoid the restriction of third-party cookies so that they won’t impact on your users experience, there are two solutions:
Solution 1: The domain of the promotion must belong to the domain of the web. For example, if the web is https://www.myweb.com, the promotion that is embedded should have a subdomain of myweb.com, such as: https://promo.myweb.com
- In White Label promotions you can configure your own domain in the promotion. Enter here to check step by step how to use your own domain in your promotion.
Solution 2: Force the opening of the participation and login page of the promotion outside your website. By default, Easypromos allows you to embed the welcome page on the web, and when users enter to participate, a new window will open outside your website. This behavior allows you to prevent the restriction of third-party cookies.
- Enter here too see more about the option to open the promotion outside your website.
- Some clients do not embed the promotion, but instead add a banner redirecting to the promotion, so that the promotion is opened in a new window, outside the website.
The recommended solution is the 1st one, that is, to configure a domain of your own in the promotion, which will belong to the domain of the web where the promotion will be embedded.
Comments
0 comments
Please sign in to leave a comment.