Block Trekkie. How to insert type="text/plain" class="_iub_cs_activate-inline" in script

Ellen_Ele
Shopify Partner
8 0 1

Hi,

I hope you help me.

 

In my shopify store there is this script: 

<script class="analytics"> ... </script>

 that contains trekkie that is placed by shopify.

 

I would to replace: 

<script class="analytics">

with 

<script type="text/plain" class="analytics _iub_cs_activate-inline">

to insert the preventive blocking of cookies (via the iubenda banner).

 

Also, many apps add scripts and I would need to add to these:

<script type="text/plain" class="_iub_cs_activate-inline">

 

I have no way of accessing this code from my theme. How could I go about changing it?

 

Please let me know.

 

Thank you.

Reply 1 (1)

Eurostep1
Shopify Partner
7 0 0

I have the same problem , and I need to do exactly what do you asking .

anyone done it ?

 

thanks

Eurostep Shopify Developer