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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

how to prevent/block s_sc and s_sq cookies

floriane3493069
Level 3
Level 3

Hi there,

I just implemented a cookie banner on my website and managed to enbable users to block adobe analytics cookies. However two kind of adobe analyics cookies are still bein set (s_sc and s_sq). Is there any possibility to block these two cookies? Apparently s_sq is related to to ClickMap/Activity map. Can I deactivate Click map in general. This is someting I am not using.

Thank you

1 Accepted Solution
Asheesh_Pandey
Correct answer by
Community Advisor
Community Advisor

Here is what you need to do in DTM -

1. Remove the activity map module from DTM.

image (1).png

2. Add s.trackInlineStats=false and following custom code in DTM custom page code section > open editor > paste following code > Save

if (typeof s.ActivityMap === 'object') {

  s.ActivityMap.link = function() {

  return false;

  };

}

s.trackInlineStats=false;

image.png

Thanks,

Asheesh

View solution in original post

10 Replies
ishans52004352
Employee
Employee

Try removing Activity Map module from the Analytics code in the implementation?

floriane3493069
Level 3
Level 3

Hi ishans9314858

thank you for your feedback. Unfortunatelly I have implemented Adobe Analytics via DTM and I do not think that I have ever activated activity map.

Any other ideas?

ishans52004352
Employee
Employee

Thanks floriane34930698​.

Is Adobe managing DTM library in the web property? If that's the case, it automatically includes the Activity Map module. With "Custom" option (in the Library Management in the tool settings), the Activity Map module can be manually removed from the code.

Asheesh_Pandey
Community Advisor
Community Advisor

Hi Floriane,

Try using Stopping Activity Map Link Tracking in case if it doesn't work use following code in the custom code section of the analytics tool to stop activity map.

if (typeof s.ActivityMap === 'object') {

  s.ActivityMap.link = function() {

  return false;

  };

}

Thanks,

Asheesh

floriane3493069
Level 3
Level 3

Hi asheeshp,

thank you for your suggestions. I added the code to the custom code section of the analytics tool but s_sq is still being dropped. How can I set s.trackInLineStat to true as described in your link? s.trackInlineStats=true

I was looking in the custom section of the library management but could not find anything...

Thanks

floriane3493069
Level 3
Level 3

Hi ishans9314858

I removed the activity map module manually but the s_sq cookie is still being dropped. 😕

Asheesh_Pandey
Community Advisor
Community Advisor

FYI! If trackInlineStats is 'true,' data about the page and link clicked are stored in a cookie called s_sq. If 'false,' s_sq will have a value of "[[B]]," which is considered null.

A question before I suggest it - Are you using DTM or Launch?

Asheesh_Pandey
Correct answer by
Community Advisor
Community Advisor

Here is what you need to do in DTM -

1. Remove the activity map module from DTM.

image (1).png

2. Add s.trackInlineStats=false and following custom code in DTM custom page code section > open editor > paste following code > Save

if (typeof s.ActivityMap === 'object') {

  s.ActivityMap.link = function() {

  return false;

  };

}

s.trackInlineStats=false;

image.png

Thanks,

Asheesh

View solution in original post

floriane3493069
Level 3
Level 3

Great,

s_sq cookie is not being dropped anymore.

Thank you