Target experience is not showing after user accpets cookies policy from hubspot | Community
Skip to main content
Level 2
December 23, 2022
Solved

Target experience is not showing after user accpets cookies policy from hubspot

  • December 23, 2022
  • 1 reply
  • 2019 views

The website I am making the implementation for has a cookie policy banner from. The experience created on Target is showing properly before I accept the cookie policy, but after I accept it, the page refreshes and the experience is no longer showing. What could be causing this behavior?

The following error message appears o console:

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by zV01Dz

I'm not sure if that possibly applies:

If this affects only one activity and works for all others directly after consent and first reload - it may be that an audience is not yet valid at this time, because only required information is not yet available.


Hello @perrin_ennen,
Thank you very much for your help. The reason the content was not showing up was because the website was changing the address of the element to something new after accepting the cookies. However, I was able to fix the issue by enabling CSS selector to use the IDs and Classes of the elements in the VEC configuration. This way, the path doesn't change because it is now using the class that is always the same. Thank you once again for your assistance.
Best regard,

1 reply

Perrin_Ennen
Community Advisor
Community Advisor
January 4, 2023

Hi @zv01dz,

how is the at.js integrated? Per script tag or as an extension in Launch?

zV01DzAuthor
Level 2
January 4, 2023

extension in Launch

Perrin_Ennen
Community Advisor
Community Advisor
January 4, 2023

I guess there is just a rule missing that checks if the consent for Adobe Target is given - and then loads Target accordingly.