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
3.8K members online now
3.8K 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

How to track goals when a message is shown on a page

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

How do you track goals when a specific message is shown on a page?

 

Additional info:

The conversion funnel starts and ends on the same page.

Scoring a goal will be determined by the type of message shown on the page.

 

Please let me know if you need more description about this question.

Re: How to track goals when a message is shown on a page

A T
Participant ✭ ✭ ✭
# 2
A T
Participant ✭ ✭ ✭
Hi,

You can trigger event tracking when some particular text / div section is displayed on the page.

And then set a goal for event in GA.

Best Regards,
A.T.

'Star' or 'Accept as Solution' if it helped.

Re: How to track goals when a message is shown on a page

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Hey A.T,
How do you set this up? Do I have to place a custom code for this?

Re: How to track goals when a message is shown on a page

A T
Participant ✭ ✭ ✭
# 4
A T
Participant ✭ ✭ ✭

Re: How to track goals when a message is shown on a page

Visitor ✭ ✭ ✭
# 5
Visitor ✭ ✭ ✭
Thanks for the url. However that page just explains how to setup event tracking.
It doesn't specifically tells us how to trigger event tracking when some particular text / div section is displayed on the page.
Did I miss something?

Re: How to track goals when a message is shown on a page

A T
Participant ✭ ✭ ✭
# 6
A T
Participant ✭ ✭ ✭
if ($(".div_className").length != 0){
//GA event tracking call
}

this should help.