Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Header script like adding facebook pixel

    General Discussion
    2
    2
    303
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      trishiab last edited by

      Hello guys,

      I noticed that customized script is only added in the footer. Where can I setup the facebook pixel right in the header tag?

      <header> facebook pixel here </head>

      Because it will not activated if the facebook pixel added on the customized script which shows only in the footer.

      In the dashboard there is no way we can't add it in the header since in configuration in content only for footer scripts.

      I tried to add directly to the active theme in the layouts/master but the code did not show up

      packages/Webkul/Velocity/src/Resources/views/shop/layouts

      Anyone can help me here?

      Is there a way to insert directly to the header?

      Anticipating with your kind feedback .

      thank you

      1 Reply Last reply Reply Quote 0
      • devansh-webkul
        devansh-webkul last edited by devansh-webkul

        Hi @trishiab,

        If you are doing changes in the packages directories. Then for reflecting change you need to run php artisan vendor:publish --all --force command. This will place all your changes to the main resource path.

        Important Note: If you have done too many customizations then I recommend you not run the command instead directly go to the resources folder and change there.

        For e.g. This path packages/Webkul/Velocity/src/Resources/views/shop/layouts/master.blade.php for this you need to do changes here resources/themes/velocity/views/layouts/master.blade.php.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post