Esta conversación ha sido bloqueada debido a la inactividad. Cree una nueva publicación.
Nivel 1
Nivel 2
Iniciar sesión en la comunidad
Iniciar sesión para ver todas las insignias
Esta conversación ha sido bloqueada debido a la inactividad. Cree una nueva publicación.
We have enabled Adobe Target experience targeting activities on our website (say www.abc.com). When loading the site directly from browser the activities are working fine.
When our site is been been loaded in another portal(/website) in an iframe say:
<iframe id="frame" src="www.abc.com">
</iframe>
, the target activity is not working.
Could you please help in resolving the issue, what could be the cause of issue.
¡Resuelto! Ir a solución.
Vistas
Respuestas
Total de me gusta
Issue got resolved by adding secureOnly attribute to targetGlobalSettings.
window.targetGlobalSettings = {
secureOnly: true,
cookieDomain: window.location.hostname
};
Vistas
Respuestas
Total de me gusta
It's difficult to troubleshoot without more information. You're welcome to send more details in a private message, so I can look at the implementation
Vistas
Respuestas
Total de me gusta
Hi @alexbishop ,
We are seeing following warning in the browser console when loading our website (having target activity) inside a iframe:
Error warning Adobe Target content delivery is disabled. Ensure that you can save cookies to your current domain, there is no "mboxDisable" cookie and there is no "mboxDisable" parameter in query string.
Does this mean if we load our website in an iframe. The target activities created for our website would not work?
Vistas
Respuestas
Total de me gusta
With certain domain structures, you need to tell Target which domain to set cookies against, which you can do by setting the cookieDomain value within window.targetGlobalSettings.
How you use it is explained here but for your cookieDomain example it should look something like,
You need to declare this targetGlobalSettings object before you load the Adobe Target script
Vistas
Respuestas
Total de me gusta
Hi @alexbishop ,
I tried setting window.targetGlobalSettings.cookieDomain to that of our site domain and that of the parent site domain in which our application is embedded as iframe. It is not working in both the scenarios.
Vistas
Respuestas
Total de me gusta
Ok, it's difficult to troubleshoot further unless you can provide a link to the page with the iframe. If that's not possible or is a restricted dev environment that can't be accessed outside of company network then I'd suggest raising a ticket with our customer care team
Vistas
Respuestas
Total de me gusta
Issue got resolved by adding secureOnly attribute to targetGlobalSettings.
window.targetGlobalSettings = {
secureOnly: true,
cookieDomain: window.location.hostname
};
Vistas
Respuestas
Total de me gusta
Vistas
me gusta
Respuestas
Vistas
me gusta
Respuestas
Vistas
me gusta
Respuestas