Access to 3rd Party JS to Remove Unused Code

Access to 3rd Party JS to Remove Unused Code

AnnaSleep1997
New Member
6 0 0

Dear All,

 

 

I am aware that alot of developers are having similar question to mine, Kindly note that I have tried getting out from this with a solution but it seems that I need an expert help.

 

I have a website based on 3rd party theme that is "stockholm" I am selling mattresses and so I need Facebook, Google and Tiktok pixels to get me some data, in the same time it is affecting my website speed so much. 

 

Website URL: anna-sleep.ae

 

I tried searching for JS files or tags I have found some and added async="async" but no use.

 

I wish I can get an access to the files directly as google devtools is showing those  JS files and the unused code inside of them. 

 

Devstools fb pixel file.PNGlighthouse result.PNG

 

I would appreciate your help in this case.

Reply 1 (1)

AnnaSleep1997
New Member
6 0 0

To add on my question,

 

I have found that I can get facebook code and add it manually from their Events Manager page.

 

my concern is that I already have connected my website with facebook pixel through shopify facebook application will that be a problem if I dropped the app in shopify and then added the code manually.

 

In that way I can at least modify the code and then get my website running faster.

 

 

Regards,