analytics/priv
RobertJoonas f75d5106f0
Rework outbound links and file downloads (#2208)
* moved custom event code to the bottom + fix indentation

* add handlebars helper fn + extract getLinkEl fn

* extract isOutboundLink function

* extract shouldFollowLink function

* remove middle and click variables

* use only one click handler for outbounds and downloads

* extract sendLinkClickEvent function

* add error handling when script compilation fails

* use callback instead of fixed timeout

* do not prevent default if externally prevented + test

* add more tests

* generate tracker files in priv/tracker/js

* update changelog

* requested changes after review

* regenerate tracker files

* use return instead of else if

* move middleMouseButton outside the function
2022-09-29 14:12:35 +03:00
..
clickhouse_repo/migrations Add entry_props back in 2022-04-22 10:58:02 +03:00
ref_inspector [Continued] Google Analytics import (#1753) 2022-03-10 15:04:59 -06:00
repo Add fun with flags library 2022-04-21 10:54:08 +03:00
tracker/js Rework outbound links and file downloads (#2208) 2022-09-29 14:12:35 +03:00
ua_inspector Upgrade ua_inspector to 3.0 (#1762) 2022-03-25 11:41:04 +02:00
paddle.pem Initial commit 2019-09-02 12:29:19 +01:00
placeholder_favicon.ico Add fallback for favicon (#2279) 2022-09-28 08:55:46 -03:00
plans_v1.json Use JSON 2021-05-11 11:32:29 +03:00
plans_v2.json Localize the /upgrade page 2021-05-13 11:59:33 +03:00
plans_v3.json New plans 2021-12-28 12:26:53 +02:00
referer_favicon_domains.json Additional pre-commit hooks (#1428) 2021-11-03 15:46:12 +01:00