Can't Delete Google Analytics Shortcode in Additional Settings
-
I’m taking over for a previous developer to manage our website. In the additional settings of each of our Contact forms there is the following shortcode:
on_sent_ok: "try {__ctm.tracker.trackEvent("", " ", "form"); __ctm.tracker.popQueue(); } catch(e) { console.log(e); }"
We have a new SEO team taking over and this interferes with their analytic code that they’re trying to add. But when I delete it from the “Additional Settings” textbox it re-populates after the save. Sometimes it repopulates 2 copies of the same code. I’ve been trying to figure out if it’s the way we’ve configured contact form 7 or analytics or some other third party app we use (like hubspot).
But I thought I’d ask you guys first. Is there any way I can block this code from coming back or delete it permanently? I tried commenting out our analytics script entirely in our header and it still comes back. I should also mention that this code appears when I create a new form as well. I’ve tried looking at the CF7 docs but haven’t found anything helpful.
I appreciate it if anyone can lend a hand.
- The topic ‘Can't Delete Google Analytics Shortcode in Additional Settings’ is closed to new replies.