Why doesn't it save the javascript code?

Posted in: Newspaper
Post count: 23

Good morning
I have to insert a code in the analytic/JSCode section of the Theme panel but after I copied and saved it, when I exit the theme panel and then return I can’t find it. How come?

Post count: 27744

Hi,

Please let me know for what is used that js code.

Thank you!

Post count: 23

To monitor site contacts for insertion of non-Google Adsense advertising

Post count: 27744

Hi,

Please try again to add the code, because it should be saved.
Also, please check the console, when you try to save the code.

Thank you!

Post count: 23

“Also, please chech the console…” I don’t know what you mean!
I try again, but che code isn’t saved.

I try to saved in Theme Panele, Analitics/JScodes, footer.

Can you help me?

Post count: 27744

Hi,

With right-click -> inspect -> console -> select the error in the tab network -> preview, you can see the cause.

Thank you!

Post count: 23

JQMIGRATE: Migrate is installed, version 3.4.1
219712072_103930691980500_8318029660069272118_n.jpg:1

Failed to load resource: the server responded with a status of 403 ()
profilepic/:1

Failed to load resource: the server responded with a status of 404 ()
jquery-migrate.min.js?ver=3.4.1:2 JQMIGRATE: Migrate is installed, version 3.4.1
complianz.min.js?ver=6.5.5:1 opt-in
card:1 Invalid ‘X-Frame-Options’ header encountered when loading ‘https://leggi.amazon.it/’: ” is not a recognized directive. The header will be ignored.
Error with Permissions-Policy header: Unrecognized feature: ‘ambient-light-sensor’.
Error with Permissions-Policy header: Unrecognized feature: ‘ambient-light-sensor’.
Error with Permissions-Policy-Report-Only header: Unrecognized feature: ‘document-domain’.
Error with Permissions-Policy-Report-Only header: Unrecognized feature: ‘document-domain’.
Error with Permissions-Policy header: Unrecognized feature: ‘ambient-light-sensor’.
Error with Permissions-Policy header: Unrecognized feature: ‘ambient-light-sensor’.
Error with Permissions-Policy-Report-Only header: Unrecognized feature: ‘document-domain’.
Error with Permissions-Policy-Report-Only header: Unrecognized feature: ‘document-domain’.

Post count: 21065

Hello Antonio!

If you add the code and press save settings in the theme panel, refresh and try to see the code again, and the code is not there, then please check this topic: https://forum.tagdiv.com/topic/theme-panel-settings-are-not-saving-2/.

Thank you!

Post count: 23

Hi Bettina
I fixed it by disabling litespeed; then I rewrote the code on the theme panel; in the last one I reactivated litespeed.
Now everything seems ok.

Post count: 21065

Hello Antonio!

I’m glad that you solved the issue.

Have a nice day!

Viewing 10 posts - 1 through 10 (of 10 total)
The forum ‘Newspaper’ is closed to new topics and replies.