Dynamic yield contexts implementation on OSF
Summary:
We are trying to implement dynamic yield context in OSF but we faced some problems
Content (please ensure you mask any confidential information):
Dynamic Yield support gave us a guide on everything we need to implement, there are several things.
Most of those things we were able to implement without any problem, but we encountered difficulties when implementing the "contexts", here is the documentation provided by dynamic yield
https://dy.dev/docs/page-context
For the implementation of the contexts Dynamic Yield recommends putting the script in a <script> tag within the <head> of the site, but the code within the <script> tag depends on the type of page the user is on (And it needs additional data for some pages, for example in PDP it needs the "productId", this data is impossible to obtain in the context of the OCC "Page Tags" execution.).