Magento 2 add script to head. How to add Javascript code on the head tag, for only success page,

Discussion in 'add' started by Zululkree , Wednesday, February 23, 2022 3:55:33 PM.

  1. Nikogar

    Nikogar

    Messages:
    92
    Likes Received:
    17
    Trophy Points:
    3
    Welcoming the new crew of Stack Overflow podcast hosts. Have you found a solution for this please? Rewriting Bash scripts in Go using black box testing. Improve this answer. Did you mean:. Hot Network Questions. Accept all cookies Customize settings.
     
  2. Akibar

    Akibar

    Messages:
    827
    Likes Received:
    14
    Trophy Points:
    1
    Navigate to Admin Panel > Content > Configuration.Sign up using Facebook.
     
  3. Tuzragore

    Tuzragore

    Messages:
    934
    Likes Received:
    19
    Trophy Points:
    1
    Choose the store view you want the head tag to be changed on or select Global in order to change it on every store view.Sanchit Gupta Sanchit Gupta 2, 2 2 gold badges 30 30 silver badges 35 35 bronze badges.
     
  4. Ninris

    Ninris

    Messages:
    941
    Likes Received:
    9
    Trophy Points:
    6
    Find the HTML Head section and add your code in the Scripts and Style Sheets field.To learn more, visit our privacy policy.
    Magento 2 add script to head. Subscribe to RSS
     
  5. Malagar

    Malagar

    Messages:
    589
    Likes Received:
    13
    Trophy Points:
    7
    Solved: I want to add custom script just after the start of head tag. I want to do that because if i add my customer script using like.Magento 2.
     
  6. Kajigor

    Kajigor

    Messages:
    800
    Likes Received:
    21
    Trophy Points:
    5
    Solved: Hello, I start with Magento 2, it's really different of magento 1. And in my back-office i add '