• AndreTheus
  • NEWBIE
  • 0 Points
  • Member since 2009

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies

Hi everyone,

 

We are using "Salesforce for Google AdWords" to generate the lead source for users filling out a web-to-lead form on our website. The form submission and lead source tagging works fine for people using Firefox or IE, but it breaks in Google Chrome.

 

I created a test form at http://staging.rightscale.com/products/euge_test.php that clearly shows that the bug lies in https://lct.salesforce.com/sfga.js. __kSetupForm() within the sfga.js seems to cause the bug in Google Chrome:

 

function __kSetupForm(form, customForm) {
if( customForm ) {
var sfga = __kgetSfgaField(form);
sfga.value = __kpackInfo(form, customForm);
form.setAttribute('action', __kgetSFAction(form));

} else {
_kwtlForm = form;
if( form.onsubmit != undefined ) {
var expr = "_kwtlOnSubmit = " + form.onsubmit.toString().replace(/this\s*([\)\.])/, '_kwtlForm$1');
eval(expr);
}
form.onsubmit = __konSubmit;
}
}

 

I was unable to find a support contact on Google's or SalesForce's end. Anybody ran into the same bug using "Salesforce for Google AdWords"? Thoughts?

Message Edited by AndreTheus on 01-26-2009 02:44 PM
Message Edited by AndreTheus on 01-26-2009 02:47 PM

Hi everyone,

 

We are using "Salesforce for Google AdWords" to generate the lead source for users filling out a web-to-lead form on our website. The form submission and lead source tagging works fine for people using Firefox or IE, but it breaks in Google Chrome.

 

I created a test form at http://staging.rightscale.com/products/euge_test.php that clearly shows that the bug lies in https://lct.salesforce.com/sfga.js. __kSetupForm() within the sfga.js seems to cause the bug in Google Chrome:

 

function __kSetupForm(form, customForm) {
if( customForm ) {
var sfga = __kgetSfgaField(form);
sfga.value = __kpackInfo(form, customForm);
form.setAttribute('action', __kgetSFAction(form));

} else {
_kwtlForm = form;
if( form.onsubmit != undefined ) {
var expr = "_kwtlOnSubmit = " + form.onsubmit.toString().replace(/this\s*([\)\.])/, '_kwtlForm$1');
eval(expr);
}
form.onsubmit = __konSubmit;
}
}

 

I was unable to find a support contact on Google's or SalesForce's end. Anybody ran into the same bug using "Salesforce for Google AdWords"? Thoughts?

Message Edited by AndreTheus on 01-26-2009 02:44 PM
Message Edited by AndreTheus on 01-26-2009 02:47 PM