how to prevent/block s_sc and s_sq cookies | Community
Skip to main content
floriane3493069
Level 2
Jun 4, 2019 1:22 PM UTC
Solved

how to prevent/block s_sc and s_sq cookies

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Asheesh_Pandey
Asheesh_PandeyAccepted solution
New Participant
Jun 6, 2019 11:06 PM UTC

Here is what you need to do in DTM -

1. Remove the activity map module from DTM.

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;

Thanks,

Asheesh

10 replies

floriane3493069
Level 2
Jun 7, 2019 12:33 PM UTC

Great,

s_sq cookie is not being dropped anymore.

Thank you

Translate
Asheesh_Pandey
Asheesh_PandeyAccepted solution
New Participant
Jun 6, 2019 11:06 PM UTC

Here is what you need to do in DTM -

1. Remove the activity map module from DTM.

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;

Thanks,

Asheesh

Translate
floriane3493069
Level 2
Jun 6, 2019 2:17 PM UTC

Hi,

I am using DTM. Thank you

Translate
Asheesh_Pandey
New Participant
Jun 5, 2019 11:09 PM UTC

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?

Translate
floriane3493069
Level 2
Jun 5, 2019 12:32 PM UTC

Hi ishans9314858​

I removed the activity map module manually but the s_sq cookie is still being dropped. :-/

Translate
floriane3493069
Level 2
Jun 5, 2019 12:28 PM UTC

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

Translate
Asheesh_Pandey
New Participant
Jun 4, 2019 11:57 PM UTC

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

Translate
Employee
Jun 4, 2019 1:40 PM UTC

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.

Translate
floriane3493069
Level 2
Jun 4, 2019 1:34 PM UTC

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?

Translate
Employee
Jun 4, 2019 1:30 PM UTC

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

Translate