We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Disallowed Key Characters and site down appearing when adding new JS Code

Development and Programming

koogarsox's avatar
koogarsox
27 posts
13 years ago
koogarsox's avatar koogarsox

Hi,

Wonder if someone can help.

I have been asked by my client to add the following piece of code in the footer of the website:

[removed]

var cmJsHost = (("https:" == document.location.protocol) ? "https://" : "http://");

var path = "databroker.coremotives.com/DataBroker.js?version=2";

[removed](unescape("[removed][removed]"));

[removed]

[removed]

try {

                var coreMotives = new DataBroker();

                coreMotives.customerId = "d0347e1f-f445-e211-be5d-00155d32390f";

                coreMotives.instanceId = 1308;

                coreMotives.trackPageView();

} catch (e) { }

[removed]

As soon as its added I get “Disallowed Key Characters” on a white page and thats it. The whole thing dies.

Any suggestions or ideas. The website Im adding it to is www.iconbusinesssolutions.com in case you want to view page source.

Thanks in advance for helping! Kind regards Amanda

       
Swedie's avatar
Swedie
61 posts
13 years ago
Swedie's avatar Swedie

CI, that EE is based on, kills certain input containing certain characters. I had this one a website too that had a JS tracking script and I had to rewrite the core Input function that dealt with incoming requests. CI or EE, should update to allow more characters, or atleast make it an option without overriding core functions.

       
krozo's avatar
krozo
2 posts
about 13 years ago
krozo's avatar krozo

I am having the same issue with trying to add this CoreMotives code. The company that implemented our Expression Engine CMS said that the the issue is with the percentage sign in the cookie names. That is what is causing the “Disallowed Key Characters”. They said it could probably be fixed but to let CoreMotives provide a new code.

I am not a webmaster, and we do not have a webmaster on staff. I have no idea how to fix this. Any insight on how to fix this would be helpful. Thanks.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.