OP Custom Tag - Tealium JavaScript Loader


This custom tag captures the source of the Tealium profile. Used to ensure the right code base is used respectively in the correct environment (i.e. production, development, staging).

Under Variable Summary in the ObservePoint Data tag, select Tealium JS account to see the relevant variables.

  • js URL: This shows the JavaScript library utilized for each URL.

To capture these details in an Audit or Journey, paste the snippet below into an Execute Action:

function opReqGetAsync(paramObject, acct, callback) {

var baseURL = "https://opreq.observepoint.com/?acct=" + acct;

var opReq = new XMLHttpRequest();

opReq.onreadystatechange = function() {

if (opReq.readyState == 4 && opReq.status == 200) {




opReq.open("POST", baseURL, true);



var object = new Object();

object["js url"] = document.querySelector("script[src*='utag.js']").getAttribute('src');

opReqGetAsync(object, " Tealium JS");

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us