Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
|
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help. |
|
Thread Tools |
07-11-2014, 02:22 AM | #1 |
Registered User
Industry Role:
Join Date: Nov 2011
Posts: 17
|
G'Analytics Question
Hi Gfy'ers,
This is my first post but I've been reading for some time here. I want to track outbound clicks from my website to my verotel join page. How do I do this on Google Analytics? |
07-11-2014, 02:45 AM | #2 |
Confirmed User
Industry Role:
Join Date: Dec 2012
Location: Scandinavia
Posts: 276
|
Hi there,
you could attach a onClick to the outgoing link(s), something like this if you have the latest universal analytics installed: Code:
<a href="blabla"> onClick='javascript: ga("send", "pageview", "/veroteljoin");'> |
07-11-2014, 05:30 AM | #3 |
eat a peach for Hours
Industry Role:
Join Date: Aug 2013
Posts: 540
|
I found a js that does not require addin an onclick event.
I am now looking into improving it now with a data layer |
07-11-2014, 05:54 AM | #4 |
Registered User
Industry Role:
Join Date: Nov 2011
Posts: 17
|
Thanks for the help, I'll see how it works!
|
07-12-2014, 12:04 PM | #5 |
Confirmed User
Industry Role:
Join Date: Jul 2014
Location: 64 00 N, 26 00 E
Posts: 4,450
|
With Google tagmanager you can use Google Analytics and track events like clicking links. The setup was a bit tricky, at least for me, but you can track everything without adding any additional codes to the site, except the tagmanager code (like Analytics code). So it is very easy to track old and new links.
|