Header Issue
-
I’m facing an issue with adding a header code. I copied the code from the CRM site which is about a popup message in my website appearing at the top of it, After adding the code in the header section from the snippets I was able to see it on the website but when I close the page and re-open it again I didn’t see it anymore. It appeared just one time after adding it. So, Could I know the reason and the solution for it?
The popup message code:
<script id=”mcjs”>!function(c,h,i,m,p){m=c.createElement(h),p=c.getElementsByTagName(h)[0],m.async=1,m.src=i,p.parentNode.insertBefore(m,p)}(document,”script”,”https://chimpstatic.com/mcjs-connected/js/users/35d5b39f749b5e774cc5f402a/41297fe5b7a94ee8f781657dd.js”);</script>
Regards,
Doaa
The page I need help with: [log in to see the link]
-
Hi @yellowvsblue,
I can see the script is loaded now in your page, from what you are describing it might have been a caching issue.
Yes, it should exist on my page now but if you try to open it again you will not find the popup message. So, how can I solve the caching issue, please?
Hi @yellowvsblue,
This doesn’t sound like a problem with how WPCode loads the script but a problem with what the script does.
As the script is loaded from an external file I don’t think there’s a straight-forward way to alter that behaviour from inside WPCode.-
This reply was modified 3 years, 7 months ago by
Mircea Sandu. Reason: removed file mention as file is actually loading ok
Yes got it, thank you so much for your immediate help!
-
This reply was modified 3 years, 7 months ago by
The topic ‘Header Issue’ is closed to new replies.