AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Analytics
2.2K members online now
2.2K members online now
Learn how to set up goals and Ecommerce tracking, verify accuracy of attribution traffic sources, and discuss funnel visualization, Multi-Channel Funnels, the Goal Flow Report, and Enhanced Ecommerce
 
Guide Me
star_border
Reply

Ajax + Goal tracking

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi, 

 

I already set up the goal in my google analytics account, my goals are the submittion of different forms, and these forms are submitted through Ajax.

The way in which I am tracking the goal is through a JavaScript line in the ajax:

 

ga('send', 'event', 'Contact Form', 'Contact Form')

 

The problem I have is that even though this line is executed without error in the analytics's website is not registered as a goal but as an event. This being, I go to Convertions->Goals nothing appears, but if I go to Behavior->Events I see the record of the event being executed on my website.

Why is that is not showing this event as a goal?

 

Thanks

1 Expert replyverified_user

Re: Ajax + Goal tracking

Top Contributor
# 2
Top Contributor
Hi,

Are you goal settings match the event details?

https://i.imgur.com/hty0f95.png

Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital

Re: Ajax + Goal tracking

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Arnold,

Thanks for the quick response.

I did set up the goals but still they don't appear in the section on
conversions.

Any other idea?

Thanks