We help IT Professionals succeed at work.
Get Started

Google Adwords ASYNC conversion help

1,985 Views
Last Modified: 2015-06-10
Hi All,

I have a adwords conversion setup on a client account, Its been setup for around 4 days now and I have been constantly testing however its still displaying as 'unverified' in the account.

Now I am trying to track a conversion from a form submission which is submitted using ajax. Basically once the form is filled in and click in the ajax success I want to send the conversion.

I include the following script above my ajax function (to clarify) but at the bottom of the page and not in the head (i assume this makes no difference???).;

<script type="text/javascript" src="http://www.googleadservices.com/pagead/conversion_async.js" charset="utf-8"></script>

Open in new window


I then fire the following code in my success call

success: function(data) {
                            if (data) {
                                ga('send', 'event', 'quickFormSubmit', 'click', 'form submitted');

                                /* <![CDATA[ */
                                window.google_trackConversion({
                                    google_conversion_id: XXXXXXXXX,
                                    google_remarketing_only: true
                                });
                                //]]>
                                
                                $('#submitting').slideUp("slow");
                                $('#complete').slideDown("slow");
                            }
                        }

Open in new window


the first part is a analytics conversion which seems to be working ok.

The slideUp and slideDOwn ar efiring and firefox is giving no errors in the console. Also i can see the .js files IS being loaded. Is there anything further I can do to debug it?

Finally, just to advise I installed and ran tag assistant in chrome, but its only picking up the analytics code and not this adword conversion code??

Thanks in advance,

MAtt.
Comment
Watch Question
Marketing Technologist
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 1 Answer and 13 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE