Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!
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