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
4.2K members online now
4.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

How to track events on a click / exit page?

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hello,

 

I have a Web site with 5 buttons on it, where each button lets the user buy the product (book) on a different book sale site.

 

I would like to be able to record each click on each respective buy option as a goal ("micro conversion") in Google Analytics.    

 

How may I do this technically?

 

It seems that I would need to make each of those respective clicks an event, and then make those events become conversion goals but I can't put the pieces together.

 

Kind regards,

Mike

1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by Bronwyn V (Top Contributor)
1 month ago

Re: How to track events on a click / exit page?

Participant ✭ ✭ ✭
# 7
Participant ✭ ✭ ✭

Hi Michael,

 

You're right. Wix supports 3 types of goal tracking for site: Destination, Duration and Pages/Screens per session. Currently, Wix doesn't support an Event tracking.

 

I tested WiX today and I couldn't find a way how to implement outbound link tracking.

 

I guess it's not possible to change link attributes in the Wix environment. We need to change HTML onclick Event Attribute in order to implement outbound link tracking (basically, we need to track events).

 

I even tried to implement Google Tag Manager via custom HTML feature but still it technically doesn’t work properly.

 

It seems to me that Wix doesn’t support Google Tag Manager yet.

 

If you really need to track outbound links, then you probably need to change the CMS environment.


 

Taavi

View solution in original post

Re: How to track events on a click / exit page?

[ Edited ]
Participant ✭ ✭ ✭
# 2
Participant ✭ ✭ ✭

Hi Mike,

If I understood correctly, you would like to track outbound link clicks as events / conversion goals in Google Analytics.

The easiest way is to use Google Tag Manager for that. Simo Ahava has written a great article about that: http://www.simoahava.com/gtm-tips/track-outbound-links-in-gtm-v2/

You can read more about the GTM here: https://support.google.com/tagmanager/answer/6102821?rd=1

After creating a tag (with a specific trigger) in GTM, publish the container and then go to the Real-Time reports -> Events. Now click on the outbound link on your website. You might see it as an event in the Real-Time reports. If you don't see it, there's probably something wrong with the GTM trigger. If it's working, you can simply create specific goals if needed. You have a category, action, label and value for that.

Another way is to only use Universal Analytics and add additional code to the website (it's a bit more difficult):
https://support.google.com/analytics/answer/1136920?hl=en#GTM

If you have a Wordpress site, you should look into the following plugins, they offer WordPress users much more functionality for configuring Google Analytics. They might even help you track outbound links way easier.

https://wordpress.org/plugins/google-analytics-dashboard-for-wp/
https://wordpress.org/plugins/google-analyticator/

Hope that it helps. Smiley Happy


Taavi

 

Re: How to track events on a click / exit page?

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Hello Taavi,



Thank you very much for this, yes unfortunately I am unable to use GTM as it's a Wix site which does not allow its use.



I'm just trying to digest and think it though at the moment.



Kind regards

Re: How to track events on a click / exit page?

[ Edited ]
Participant ✭ ✭ ✭
# 4
Participant ✭ ✭ ✭

Hi Michael,

 

You can also add custom Google Analytics code to your WiX site. Here are the instructions: https://www.youtube.com/watch?v=lQ3PUCTr_SU

 

It's not the common way how to implement it but it should work. Hope that it helps.

 

If you have any further questions, let us know. We will try to help you with the community. Smiley Happy


Taavi

Re: How to track events on a click / exit page?

Visitor ✭ ✭ ✭
# 5
Visitor ✭ ✭ ✭
Effectively I want to be able to add the following onClick information to a URL within Wix:

http://www.amazon.com/bookSample onClick="ga('send', 'event', { eventCategory: 'buyingOptions', eventAction: 'clicked', eventLabel: 'paperback'});"

How may I do this?

Can I add single quotes around the string?

Or ... does Wix simply not give you this freedom whatsoever, as per:
https://www.wix.com/support/html5/article/request-google-event-tracking-a-google-analytics-goal

Re: How to track events on a click / exit page?

Visitor ✭ ✭ ✭
# 6
Visitor ✭ ✭ ✭
Is it possible to create a conversion if a person clicks away from a site to another URL in other words, if the Exit page goes to the Next Page containing 'xxx'?



Thank you
Marked as Best Answer.
Solution
Accepted by Bronwyn V (Top Contributor)
1 month ago

Re: How to track events on a click / exit page?

Participant ✭ ✭ ✭
# 7
Participant ✭ ✭ ✭

Hi Michael,

 

You're right. Wix supports 3 types of goal tracking for site: Destination, Duration and Pages/Screens per session. Currently, Wix doesn't support an Event tracking.

 

I tested WiX today and I couldn't find a way how to implement outbound link tracking.

 

I guess it's not possible to change link attributes in the Wix environment. We need to change HTML onclick Event Attribute in order to implement outbound link tracking (basically, we need to track events).

 

I even tried to implement Google Tag Manager via custom HTML feature but still it technically doesn’t work properly.

 

It seems to me that Wix doesn’t support Google Tag Manager yet.

 

If you really need to track outbound links, then you probably need to change the CMS environment.


 

Taavi

How to track events on a click / exit page?

[ Edited ]
Visitor ✭ ✭ ✭
# 8
Visitor ✭ ✭ ✭

You may easily implement a "redirect" page via a bit of javascript in an html widget, thus, making the user have a quick stop at this page for about 1 second, before sending them to whatever link you wanted to send them through. You may then define this as a thank you page conversion in your adwords/analytics/etc and be on your way. But, true, you will face those stupid GA limits for 20 FREE thank you pages... Gosh I hate such a low limit, makes no sense.

 

The more serious issues with Wix are with stuff we cannot have any sort of insight into such as their Bookings App. We are simply at the mercy of their devs until they bring about their current feature requests for Booking conversion pixels and Wix Tag Manager support. 

 

Also, As of 2018, Wix has Wix Code out which totally enables a lot of dynamic work, but still no support for tag manager directly, maybe you can get smart with it though

How to track events on a click / exit page?

Visitor ✭ ✭ ✭
# 9
Visitor ✭ ✭ ✭

JUST FYI

 

As of January 2018, Wix allows use of Google Tag Manager, this is a very new feature release for them. I post here reviving an old thread as this is one of the top SERPs for "wix google tag manager" on page one for me.

 

Thanks

Omid

Re: How to track events on a click / exit page?

Visitor ✭ ✭ ✭
# 10
Visitor ✭ ✭ ✭
This is excellent thank you!!