Adding MailChimp Code to Theme
-
Hi – I’m trying to connect WordPress to MailChimp.
I opened up the header.php file and added the following 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/d2445d0e522a7db96c2415edc/0a50176b524204c5156cf695e.js”);</script>
then saved it and closed the file transfer. I tried testing the connection but MailChimp is saying it can’t find it. Additionally, there’s now a new file showing up according to the FTP called header.php.uploading.1600451467
did I go about this wrong?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Adding MailChimp Code to Theme’ is closed to new replies.