fix(tracking): add link click tracking to snowplow
This commit is contained in:
4
bin/vendor/analytics.html
vendored
4
bin/vendor/analytics.html
vendored
@@ -29,7 +29,9 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
snowplow('trackPageView');
|
snowplow('trackPageView');
|
||||||
|
|
||||||
|
snowplow('enableLinkClickTracking')
|
||||||
|
|
||||||
const space_id = decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*" + encodeURIComponent('space_id').replace(/[\-\.\+\*]/g, "\\$&") + "\\s*\\=\\s*([^;]*).*$)|^.*$"), "$1")) || null;
|
const space_id = decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*" + encodeURIComponent('space_id').replace(/[\-\.\+\*]/g, "\\$&") + "\\s*\\=\\s*([^;]*).*$)|^.*$"), "$1")) || null;
|
||||||
|
|
||||||
snowplow('trackSelfDescribingEvent', {
|
snowplow('trackSelfDescribingEvent', {
|
||||||
|
|||||||
Reference in New Issue
Block a user