Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Add a parameter to s-object to disable tracking

Avatar

Avatar
Boost 500
Level 10
adierl
Level 10

Likes

809 likes

Total Posts

188 posts

Correct reply

0 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
adierl
Level 10

Likes

809 likes

Total Posts

188 posts

Correct reply

0 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
adierl
Level 10

17-02-2010

In some cases your s_code is loaded but you don't want to fire any tracking. Would be beneficial to have a s.disableTracking=true; parameter to disable any tracking to go out.

While you would be able to put the s.t() call into an if-statement you would also need to turn of any auto-tracking and catch all s.tl()-calls and abort them.

 

A sample case:

if you don't care about saved copies of your site:

if (location.protocol=='file:') { s.disableTracking=true; }

would do the trick.

Currently it's a lot more code.