Update analytics-service.client.directive.js
This commit is contained in:
parent
d0e620cbed
commit
f7431e43f8
|
@ -1,10 +1,10 @@
|
||||||
(function () {
|
(function () {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
function SendVisitorData(Socket, $state, $http) {
|
function SendVisitorData(Socket, $state) {
|
||||||
|
|
||||||
// Create a controller method for sending visitor data
|
// Create a controller method for sending visitor data
|
||||||
function send(form, lastActiveIndex, timeElapsed) {
|
function send(form, lastActiveIndex) {
|
||||||
// Create a new message object
|
// Create a new message object
|
||||||
/*var visitorData = {
|
/*var visitorData = {
|
||||||
referrer: document.referrer,
|
referrer: document.referrer,
|
||||||
|
|
Loading…
Reference in a new issue