how to prevent/block s_sc and s_sq cookies

floriane3493069 04-06-2019

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

Accepted Solutions (1)

Accepted Solutions (1)

asheeshp
MVP
06-06-2019

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

Answers (9)

Answers (9)

ishans52004352
Employee
04-06-2019

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.

asheeshp
MVP
05-06-2019

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?

floriane3493069 05-06-2019

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

asheeshp
MVP
04-06-2019

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 04-06-2019

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?