HTML code editing

  • Author
    Posts
  • #3762470

    zilahilivia
    Member
    Original poster

    I would like to know if I have the option to edit the source code of the page if I subscribe to the WordPress Premium package. Specifically, I’m wondering if I could edit not just some blocks, but even the head section. I would need this because I want to put analytical measurement code into the code, for which I would need to modify the source code as a whole, not just certain blocks.
    Thanks for the info

    WP.com: Yes
    Correct account: Yes

    The blog I need help with is: analitikateszt.wordpress.com

    #3762569

    supernovia
    Staff

    Hi @zilahilivia, full site editing is coming very soon, actually! It’s currently available on the Business Plan through a beta option.

    That said:

    I want to put analytical measurement code into the code

    Which code would you be adding? We might have another option for that.

    #3762747

    zilahilivia
    Member
    Original poster

    We use the matomo analytics tool, but by no means do we want to work with the plug-in version, so we would need the source code into the head section. Could you help me find out where the beta version is? We have already subscribed for the Business Package.

    Thank you, for your help!

    #3762797

    aleone89
    Staff

    Hello there,

    Many thanks for that information.

    To insert that code into the head section of the site, you would need to use a separate plugin: https://wordpress.org/plugins/insert-headers-and-footers/

    The above plugin will inject the code, without having to edit the theme files themselves, which means the theme can get updated and you can change themes (if you need to) without having to worry about inserting the tracking code each time.

    I hope this helps.

You must be logged in to reply to this topic.