<!-- End of DoubleClick Floodlight Tag: Please do not remove -->
1. On trying to add this code straight into DTM, I am getting a few errors and the rule cannot be saved. Can anyone please advise the best approach of going about tweaking this code for successful DCM implementation? I have many more requests for DCM implementation and a best approach would help me or the devs tweak the codes for all requests.
2. If I want to set up this code only for a particular landing page, would the best way to go about it be selecting condition and specifying an include path that contains the desired landing page? This should do the job right, or is there any other steps to follow for successful implementation?
Any help would be greatly appreciated. Thanks! [Personal contact info removed - Mod]
As for limiting where this code fires, yes, you can use conditions to limit where the rule fires. Path is probably the easiest condition to do this with.
You are correct, event based rules do not allow for sequential HTML. Only page load rules allow that option. We typically try to stay away from sequential HTML anyway since it requires a document.write and Chrome has already started to show security warnings to users when document.write is used.