SPA & triggerView in Form-based Editor

ChrisMezzo

30-06-2020

Hi all,

 

I see that for SPAs, triggerView() fires a 'delivery' network request for a 'notification', much like a metric used under adobe.target.trackEvent(), rather than 'content' as seen with adobe.target.applyOffer().

 

I understand how to configure builds against triggerView in the VEC, but we have issues with the VEC in our secure account area, in that security issues currently restrict the site being viewed through an iFrame. This makes editing very tricky.

 

My question is therefore: Is it possible to use the Form-based editor in conjunction with triggerView? In the 'Location' field, I see no option to select the 'view' key that is passed in the triggerView() call, and targeting the 'target-global-mbox' with audience refinements for page URL doesn't work either.

How does the VEC recognise these view changes if it's not with new mbox names? Can that be replicated in the form-based editor?

 

Many thanks,

Chris

Accepted Solutions (0)

Answers (1)

Answers (1)

nzchris

13-07-2020

Hey Chris,

 

As far as I'm aware - using triggerView in the form based composer isn't available (+1 vote for this in the future). Have you tried using the Adobe Target chrome extension? It helps to remove the iframe busing headers on your browser:

https://chrome.google.com/webstore/detail/adobe-target-vec-helper/ggjpideecfnbipkacplkhhaflkdjagak

 

The only other thing around this is you could put an offer code on the target-global-mbox and utilise the success events to watch for the triggerView call to fire the code?

 

Hope that helps,

Another Chris