• Resolved bayer72

    (@bayer72)


    I’m managing a WordPress website using DBL Site Builder together with Astra PRO, and I’ve discovered that the Pinterest script.
    <script async defer src=”//assets.pintrest.com/js/pinit.js”<>/script>
    is being loaded on certain pages — even though it has not been added manually through templates, hooks, global settings, or theme files

    its a big yellow stars and a yellow pointing hands

    I have already checked the following:

    • Layout CSS & JavaScript (empty)
    • DBLUA Global Settings (no custom scripts)
    • All Hooks, Header, Footer, 404, Page Content (all empty)
    • AIOSEO Webmaster Tools (Pinterest verification not enabled)
    • No active modules for Social Sharing or Image Hover
    • No custom templates in DBL Site Builder

    Questions:

    • Does DBL Site Builder or any DBL-related module automatically inject the Pinterest “Pin It” script?
    • If so, how can I completely disable this functionality?

    Thank you for your help.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator threadi

    (@threadi)

    I have now looked at several pages on your website and cannot find this code anywhere. My guess would therefore be that it is supplemented by a browser add-on that you are using. Try viewing your website with a completely different browser.

    Thread Starter bayer72

    (@bayer72)

    Thanks for taking the time to check. I tried another browser and had the same problem, so the issue is probably in some script somewhere in WordPress. The question is just where.

    Moderator threadi

    (@threadi)

    I’ve now checked a total of three different computers with a total of six browsers. There is nothing from Pinterest in the source code of your page.

    Even when I look at the source code of the page with an analysis tool under Linux, I can’t find anything.

    The only possibilityis that this code is inserted depending on the origin of the visitors. It’s basically a geolocation-dependent output. But that would be quite strange with just a Pinterest code.

    I would therefore guess again that the problem lies with your computer. If it’s not the browser, then maybe it’s an upstream firewall that modifies the code of the pages or your location on this planet.

    If you are still convinced that it must be something in your WordPress project, deactivate all plugins as a test and also switch the theme to a standard theme. If you no longer see the output, it was due to one of the now deactivated components. You can then determine which one it is by reactivating them one by one.

    If you don’t want to do this test on a live project, you can also use WP Staging, for example.

    The “DBL Astra Pro” plugin you mentioned is a commercial plugin that we cannot help you with here in the forum. If you have any questions about it, please contact their support: https://wpastra.com/contact/

    Thread Starter bayer72

    (@bayer72)

    Thanks so much for your effort — I really appreciate it. I tracked the problem to the HTML in WordPress; the culprit was this line:

    <figure><img src="https://s.w.org/images/core/emoji/17.0.2/svg/2728.svg" alt="✨"></figure>s.

    I rewrote the code and everything looks fixed now.

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.