Not able to load page in VEC | Community
Skip to main content
Gaureshk_Kodag
Adobe Employee
Adobe Employee
August 21, 2019

Not able to load page in VEC

  • August 21, 2019
  • 3 replies
  • 19657 views

hi all,

I'm trying to load a page in VEC but it is giving an error "We did not find Target libraries in your website. Allow VEC Helper extension to inject libraries in your website to enable authoring."

When I debugged whether target libraries are present on the page or not, I found that libraries are already present on the page and mbox JSON is getting fired properly.

What might be a possible reason for this error?

Thanks in advance,

Gauresh Kodag

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

MihneaD
Adobe Employee
Adobe Employee
August 21, 2019

gaureshk30144236​,

The VEC uses iFrames to load the content. It could be that the site in question is blocking X-Frames-Options you can validate if this is the case by looking for an error about this in the Developer Tools > Console. If that is the case the fix would be to have your web developer add adobe.com to a whitelist of domains that are allowed to load the site in iframe. The work-around would be to set up Requestly with a rule to throw away those headers see attached screen-shot for Requestly rule below:

If this satisfies your query please like, mark as helpful and mark as answer. Otherwise lets keep the conversation going. Hope you have a wonderful day.

Screen-shot of Requestly rule:

Mihnea Docea | Technical Support Consultant | Customer Experience | Adobe | (:: 1 (800) 497-0335

Andrey_Osadchuk
Level 10
August 21, 2019

Just in case you have not used the Target VEC Helper extension, I do advise to give it a try. Usually, this is the simplest and fastest way to make the VEC working as expected.

Adobe Target VEC Helper - Chrome Web Store

Level 2
August 22, 2019

Hi Andrey ,

We are using Adobe Launch. Our Mobile site Built with SPA (Angular)

To implement Target Trigger View , we used Target V2 Extension and set a Custom Event to trigger view.

To Populate the viewName,  We use a data element with page names.populated from the Datalayer.

In the Delivery request we are able to see, View as Home.

When we check Response – This Request has no response data available is showing.

Response header : Connection : Close

Instead of xhr , I see Content-Type:  text/plain; charset=UTF-8

In the VEC - Under Modification, I see only Page load event.

I don’t see the current viewName.

Did we missed anything ? Can you please share your inputs on this.

Gaureshk_Kodag
Adobe Employee
Adobe Employee
August 22, 2019

hi Andrey Osadchukmikewebguy

Thanks for the reply.

I have already configured requestly rule and also using Target VEC helper extension.

Actually, I Found some other thing which might be causing an error. My page URL contains # in it which looks like www.abc.com/#/abc/login. And I got to know that target don't allow # (special characters) in URL. Do you guys know any solution for this?

In short, it's a single page application so, do I need to do any other settings to load SPA in the target?

Andrey_Osadchuk
Level 10
August 22, 2019

gaureshk30144236 , I wonder what you are referring to in " target don't allow # (special characters) in URL". I tried to open a page with the hash character in VEC and it worked. Do you observe any type of error message?

pradeepr65740266, could you elaborate more about the issue? Do you mean that Target does not return any offer? A screenshot(s) may help.

Level 2
August 22, 2019

Hi Andrey ,

             Thanks for the Quick reply.

We are using Adobe Launch. Our Mobile site Built with SPA (Angular)

To implement Target Trigger View , we used Target V2 Extension and set a Custom Event to trigger view.

To Populate the viewName,  We use a data element with page names.populated from the Datalayer.

---------------------------------------------

On respective pages i can see the view names, but those viewnames are not available in the Vec.