GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Webmaster Q & Fuckin' A (https://gfy.com/forumdisplay.php?f=27)
-   -   G'Analytics Question (https://gfy.com/showthread.php?t=1145182)

paulsmith 07-11-2014 02:22 AM

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?

xxx6live 07-11-2014 02:45 AM

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");'>
the /veroteljoin can be anything you want to be logged. If you have the older analytics the code is different (something with _gaq.push ...)

Panty Snatcher 07-11-2014 05:30 AM

I found a js that does not require addin an onclick event.

I am now looking into improving it now with a data layer

paulsmith 07-11-2014 05:54 AM

Thanks for the help, I'll see how it works!:thumbsup

aka123 07-12-2014 12:04 PM

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.


All times are GMT -7. The time now is 03:32 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc