Multiple Campaigns on Same Element
Question: How does one declare the order of which DY campaigns run first when targeted towards the same element?
Answer: It is problematic to run multiple campaigns based off the same position of an element. In DY, only one campaign can run in a given place at any time, so in the event that both campaigns have their targeting conditions met, only one will run, which is referred to as race conditions. So it is not possible to base multiple campaigns off the the same position of a single selector and then declare the order in which they should appear. You should position them based on different elements, or at least based on different positions (such as before and after) a single element.
-
Official comment
Using the same element across multiple campaigns can cause race conditions between the campaigns may result in:
- One campaign may be served but not the other
- A creation of dependencies in the api_dynamic.js script
- Serving issues can also occur with Recommendations Campaigns, Dynamic Content, and Visual Edits if targeting or making changes to the same selector
However, there is an exception regarding priority levels when it comes to Multi touch campaigns:
- Multi-touch campaigns have a higher priority than other campaign types, such as dynamic content or recommendations.
- If both are defined on the same element, the touchpoint content is served to the user.
Therefore its recommended to use unique selectors for campaigns, to avoid the common issues listed above.
Comment actions
Please sign in to leave a comment.
Comments
1 comment