• Resolved karthikeyani

    (@karthikeyani)


    Hi,

    I have uploaded my media in windows azure and displayed in WordPress. When someone access the media it is not listed in Google Analytics Dashboard. My media types are PDF, png, jpg, etc. Could you please explain why this is not listed?

Viewing 2 replies - 1 through 2 (of 2 total)
  • When events are enabled, GADWP tracks an event, in this case the click on a link that points to your resources (as a download event). Loading a resource and generating an event by clicking a link are two different things.

    • This reply was modified 7 years, 5 months ago by Alin Marcu.
    Thread Starter karthikeyani

    (@karthikeyani)

    I have used below code to track event and it is working fine now.

    jQuery(document).on('click', 'a', function () {
        ga('send', 'event', 'Media', 'Viewed', this.href, {
         'transport': 'beacon'
       });
    });
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Outbound link’ is closed to new replies.