melissae6854041 09-05-2016

Is it possible to create a profile script to qualify users for a campaign if an HTML DOM is present on the page?


Typically the script to get an element id would be:

var x = document.getElementById("myAnchor").id;

Has anyone done something where they check if an id is present and based an audience off that?  

Accepted Solutions (1)

Accepted Solutions (1)

ParitMittal 15-05-2016

Hi ,

Profile script uses Server side "Javascript Rhino Engine" Hence Scripts are executed on back end and there is no access to DOM elements on the page.

Thanks & Regards

Parit Mittal