Expand my Community achievements bar.

Join us January 15th for an AMA with Champion Achaia Walton, who will be talking about her article on Event-Based Reporting and Measuring Content Groups!
SOLVED

Javascript implementation error on first hit

Avatar

Level 2

On first hit a new visitor>> we are getting no sitecatalyst image request. from second hit we are getting proper 200 image and tracking is happening.

 

* clear all cookies (or use a brand new incognito window)
* navigate to homepage
* s_code generates an error in the javascript console and no tracking is fired on first page hit

[img]error1.png[/img]

 

[img]error2.png[/img]

1 Accepted Solution

Avatar

Correct answer by
Level 5

Hi

Please check the value of "b[0]" ( j.prop45=b[0] )before the if condition, try to capture it in alert for verification.

 

Regards

Devinder

View solution in original post

2 Replies

Avatar

Level 5

Hi

 

Please let us know if you are still facing the issue.

 

Regards

Devinder

Avatar

Correct answer by
Level 5

Hi

Please check the value of "b[0]" ( j.prop45=b[0] )before the if condition, try to capture it in alert for verification.

 

Regards

Devinder