Troubleshooting Issues Related to the Visual Experience Composer
Display problems sometimes occur in the Visual Experience Composer (VEC) under certain conditions.
When I open my website in the Visual Experience Composer, the Target libraries do not load. (VEC only)
Target adds two parameters ( mboxEdit=1 and mboxDisable=1 ) while opening the website in the Visual Experience Composer.
If your website (specially Single Page Apps), trims our parameters or actually removes them while navigating from one page to another (without a page reload) the Target functionality breaks and the Target libraries do not load. To avoid this problem, ensure that you do not trim or remove these two parameters.
My page won't open in the EEC, or loads slowly. Activities or experiences load slowly in the VEC. (VEC only)
Several issues can affect page performance in the Target experience composers. Some common issues include:
- You do not have an mbox on the page.
- Your site uses proxy blocking, which does not allow the page to be opened in either experience composer.
- Your site doesn't allow itself to be opened in an iFrame.
If issues occur in the Enhanced Experience Composer, try turning off the Enhanced Experience Composer and use the Visual Experience Composer instead.
To disable the Enhanced Experience Composer, go to Setup > Preferences and turn off the Enable Enhanced Experience Composer option.
Some users see the following error message in the console:
If neither the Visual Experience Composer nor the Enhanced Experience Composer works, use a browser extension like Requestly (Chrome or Firefox) or Modify Response Headers (Firefox) that can overwrite the X-Frames header options for your site and allow them to be loaded in iFrames, enabling the VEC. If you are unable to use browser extensions, use the Form Composer.
In addition to the following information, you can use the Adobe Target VEC Helper browser extension for Google Chrome.
To use the Requestly extension on Chrome or Firefox:
- Turn off the Enhanced Experienced Composer.
- Install the Requestly browser extension on Chrome or Firefox.
- Open the extension and configure it using the following:
- Select Modify headers .
- Enter the following:
- Rule name
- Modification rules
- Toggle Add to Remove .
- Toggle Request to Response .
- Enter "X-Frame-Options" as the header name.
- Repeat previous steps and enter "x-frame-options" as the header name.Headers that are manipulated via Requestly are case sensitive.
- Change Equals to Contains as the condition for the source URL and enter the URL of the activity that you are trying to load in the VEC.
- Click Save .You should now be able to load the page quickly with the Visual Experience Composer.
To use the Modify Response Headers extension on Firefox:
- Install the Modify Response Headers on Firefox and restart the browser.
- From your Firefox extensions, select the Modify Response Headers extension.
- Click Preferences .
- Select Filter from the Action drop down.
- In the Header Name field, enter: X-Frame-Options .
- Repeat Steps 4 and 5 to add a filter with x-frame-options .
- Click Add .
- Click Start .
After setting up an extension, open Target. Your pages should now load in the Visual Experience Composer, even if the Enhanced Experience Composer is disabled.
My page does not display in the VEC (VEC only)
- The browser is not supported.
- The browser is blocking a non-secure page on a secure site.Click the icon to the left of the URL in the browser address bar and click Disable protection on this page
- You entered an invalid URL.
- You have not entered a default URL in your account setup page.
When launching a URL for a VEC activity, the console displays the following error message: "Uncaught ReferenceError:_AT is not defined." (VEC only)
This error occurs if you try to deliver Visual Experience Composer (VEC) campaigns and you have not updated mbox.js downloaded from the Target user interface with the Support Visual Experience Composer Activities option enabled ( Setup > Implementation > mbox.js > Edit mbox.js Settings).
Ensure that this setting is enabled, then download and update mbox.js on your website.
The VEC appears broken when I use browse mode. (VEC only)
While using browse mode, if you access a URL that does not have target.js or contains a frame-buster header, the Visual Experience Composer appears broken. Due to browser security concerns, Target cannot access the URL you navigated to.