Updated ahoy.js

Andrew Kane committed Jun 12, 2014
commit ef42e21e020cc702f9242bd10f8ddfc4133174ec
Showing 1 changed file with 8 additions and 0 deletions
vendor/assets/javascripts/ahoy.js +8 -0
@@ @@ -177,6 +177,14 @@
}
}
+ ahoy.getVisitToken = function () {
+ return visitId;
+ };
+
+ ahoy.getVisitorToken = function () {
+ return visitorId;
+ };
+
ahoy.reset = function () {
destroyCookie("ahoy_visit");
destroyCookie("ahoy_visitor");