Site logo

Archived topic

Urgent! Incompatibility with Elementor

18 replies · Started by brandonhull on July 18, 2017

Viewing posts 16–19 of 19

Just did. Here's the report back:

GPP installed, none activated: Elementor modules are fine.
Blog activated: Modules are fine.
Colors activated: Modules are fine.
Hooks activated: Modules break!

And here's the thing. I had this code in the wp_footer hook, below. I want to say it was from my prior use of ActiveCampaign. Now, I can't recall. Does it look familiar? It's what broke my site!!!!!

<script type="text/javascript">
var trackcmp_email = '';
var trackcmp = document.createElement("script");
trackcmp.async = true;
trackcmp.type = 'text/javascript';
trackcmp.src = '//trackcmp.net/visit?actid=223424273&e='+encodeURIComponent(trackcmp_email)+'&r='+encodeURIComponent(document.referrer)+'&u='+encodeURIComponent(window.location.href);
var trackcmp_s = document.getElementsByTagName("script");
if (trackcmp_s.length) {
trackcmp_s[0].parentNode.appendChild(trackcmp);
} else {
var trackcmp_h = document.getElementsByTagName("head");
trackcmp_h.length && trackcmp_h[0].appendChild(trackcmp);
}

Doesn't look familiar - it's not GP related. It is missing a closing </script> tag at the end.

So removing that script fixes the issue?

Yep. Resolving this ticket.

I haven't changed that script in a LONG time. Haven't added to it, edited it, etc., so I'm not sure about the missing </script>.

Whatever. It's now solved.

Great news! Always satisfying solving weird issues like this :)

This archived topic is closed to new replies.