Skip to content

External link URL not recorded in Google Analytics #137

Description

@skleinfeldt

collective.googleanalytics has External Links and File Downloads plugins enabled.

Downloading a file (https://jazkarta.com/projects/volunteer-management-system "Download Case Study") successfully records a Google Analytics event with Category = File, Action = Download, and Label = URL of the PDF file. I think the relevant JS line on that page is
_gaq.push(['_trackEvent', 'File', 'Download', $(this).attr('href')]);

Clicking the external link on the same page ("View Website") successfully records a Google Analytics event with Category = External, Action = Link, however Label is not set. (It should contain the URL of the external link.) I think the relevant (and suspicious looking) JS line on that page is
_gaq.push(['_trackEvent', 'External', 'Link', jQuery(this).attr('href')]);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions