• Resolved ajoiner92

    (@ajoiner92)


    Hello,

    We are attempting to import our conversions from Salesforce with our AdWords. The google article we are following is: Import conversions from Salesforce

    I believe we have everything setup correctly, but I am somewhat unsure how some of the HTML parts, since we are using your extension rather than coding the form ourselves.

    The form that we are wanting to track can be found at: ArizonBuildingSystems.com

    The field settings are:
    Field: GCLID__c
    Operations: Enabled
    Type: Hidden
    Label: GCLID
    Value: 1

    I am not sure if you plugin goes through a different submission process, but something Google mentions in the article is “If the lead info from your web form passes through another system before reaching Salesforce, make sure that any intermediate lead processing systems pass the GCLID through so that the GCLID value ultimately reaches your Salesforce account. The system you use should have a way to do this: if you’re not sure how, contact support for the 3rd-party solution you use.”

    So far we have not gotten past Step 4 in the article, since none of our test have gone through. Can you see any problems with this process and your extension working together? We may be stuck somewhere else, but I wanted to check with you to make sure I am not doing something wrong on the forms end of things.

    Thank you,
    Amber

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Nick Ciske

    (@nickciske)

    When I visit your form and execute the JS:

    
    document.getElementById("sf_GCLID__c").value = (name = new RegExp('(?:^|;\\s*)gclid=([^;]*)').exec(document.cookie)) ? 
    name.split(",")[1] : "";
    ""

    I get a blank string, indicating it didn’t find a GCLID because one doesn’t exist in my cookies– are you sure one exists in your test browser?

    When I try to force one to be present:
    https://arizonbuildingsystems.com/get-in-touch/?gclid=TeSter-123.

    I get this console error:

    
    Uncaught ReferenceError: setCookie is not defined
        at ?gclid=TeSter-123.:503
    (anonymous) @ ?gclid=TeSter-123.:503
    

    This would indicate that the cookie is never being set, thus can never be retrieved.

    So… fix your JS and it should work ??

    Thread Starter ajoiner92

    (@ajoiner92)

    Everything is working now. It turned out to be something with how our JS was being read by our theme and it was making the spacing all off. Once we fixed that everything was good. Thank you for pointing out the JS error.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Import conversions from Salesforce – Google AdWords’ is closed to new replies.