Adobe Target in an SPA. How to trigger viewName?

leejon
Silver Contributor
Silver Contributor leejon

Hi,

I'm trying to understand Tealium's interpretation of how Adobe Target works in an SPA. The viewName portion of Adobe Target isn't triggered in the first manual utag.view instance. I've already disabled the initial page view, hence the manual utag.view instance. Adobe Target's viewName is triggered only in subsequent utag.view calls (which I made through the browser console). Is this how it's supposed to be?

Here is my setup. In the SPA, I've disabled the initial page load using ' window.utag_cfg_ovrd = {noview:true}; '.  In the Adobe Target tag itself, I've mapped 'dom.domain' to 'viewName'. At the bottom of the HTML body, I'm making a utag.view call using the code below.

<script>
window.onload = function() {
utag.view({
"page_canonical_url_combined" : "testcanonical"
})
}
</script>

Can someone advise?

Thanks,
Jonathan

 

1 REPLY 1

Adobe Target in an SPA. How to trigger viewName?

leejon
Silver Contributor
Silver Contributor leejon

I've received an update from Tealium confirming that it is a tag defect and a fix is in development.

- Jonathan