Track all outbound links in Google Analytics

前端 未结 7 1977
小蘑菇
小蘑菇 2021-01-31 20:06

I\'ve been using a script to track outbound links for a couple of months now. The script WORKS, but in the report generated by Google Analytics many UR

7条回答
  •  名媛妹妹
    2021-01-31 21:10

    use location.hostname instead of location.host . hostname does not include the port.

提交回复
热议问题