Inhalte aufrufen

Profilbild

Problem loading Java script

java

  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
1 Antwort zu diesem Thema

#1 agah

agah

    Newbie

  • Members
  • Punkt
  • 1 Beiträge

Geschrieben: 18 December 2018 - 15:58

Hi, I received a script from a site that said they were between the home page. Please help me to know which file should be included in the code my code:

<!--BEGIN RAYCHAT CODE-->
  <script type="text/javascript">!function(){function t(){var t=document.createElement("script");t.type="text/javascript",t.async=!0,localStorage.getItem("rayToken")?t.src="https://app.raychat.io/scripts/js/"+o+"?rid="+localStorage.getItem("rayToken")+"&href="+window.location.href:t.src="https://app.raychat.io/scripts/js/"+o;var e=document.getElementsByTagName("script")[0];e.parentNode.insertBefore(t,e)}var e=document,a=window,o="e6b4a52e-b910-4ddd-a0a4-241dda6254eb";"complete"==e.readyState?t():a.attachEvent?a.attachEvent("onload",t):a.addEventListener("load",t,!1)}();</script>
<!--END RAYCHAT CODE-->

  • RidgeOi und Brantot gefällt das

#2 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3799 Beiträge

Geschrieben: 18 December 2018 - 17:30

You can create a topic and render the script as an HTML widget where the widget zone is body_end_html_tag_before, head_html_tag etc. if it should appear on each frontend page.

  • RidgeOi gefällt das

Marcus Gesing

Smartstore AG