How to Include SumoMe Script to theme

Posted in: Newsmag
Post count: 14

Hi,

I am using this SumoMe script for my parent install which runs on Avada. I have a subinstall of WP which now has NewsMag as the news section. I use the following SumoMe Script:

<script src=”//load.sumome.com/” data-sumo-site-id=”XXXXXXXXXXXXXXXXXXXXXXXX” async=”async”></script> and I add it normally to other themes in the custom code section.

The thing with NewsMag is that it requests not to use the <script></script> tags in the JS Custom code section. How do I then apply the above script?

Post count: 23312

Hello ashishb01,

Unfortunately, we are not aware of what type of script you are using and we have no idea about the theme behaviour with this, sorry! Please keep in mind that if you want to add some Js code inside the theme you should add here -> http://screencast.com/t/nvlxnbQ2Pa Please notice that all of these involves custom services and we cannot provide this type of services at the moment, sorry! If you want to display more levels in our theme and if you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you because we can’t provide this type of services at the moment, sorry!

Thanks for the message!

Post count: 14

Hi,

Sorry, may be I did not frame my question properly. It is not about the 3rd party plugin but how to insert these type of JS code.

I have already seen the code block that you have shared in the screen shot. The problem is, its clearly says this:

“Please do not include the <script> </script>.”

This should work fine for normal code like

<script> actual code here </script>

where I just add “actual code here” in the block.

But for JS codes like the example I have provided at the top of this thread, the entire code is in the <> tags, how do I add without including the <script> </script>

Another classic example is the McAfee Site Seal trustmark. Here also the entire code is within the <> tags like this:

<script type="text/javascript" src="https://cdn.ywxi.net/js/1.js" async></script>

How do I insert these types of code without including <script></script>

Post count: 23312

Hello ashishb01,

Please try to add your Js code in header.php in the head section, like this -> http://screencast.com/t/fQ4A6qzWy Also, for more information about the code implementation, please consult here -> https://sumome.com/instructions

Hope this helps!

Thanks for the message!

Post count: 14

Actually, there is a better solution. I added this to the Analytics code section of the theme and its working fine 🙂

Thanks for your support.

Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.