• Resolved Dylan

    (@gotalifethanks)


    I’m using the Astra Pro theme, and Elementor page builder, the free version. Rather than use the Constant Contact plugin to add a form to my site (because that didn’t work either, so now I’m trying this), I created an inline form from my Constant Contact account.

    I have tried pasting the code directly into the footer section in a special Shortcode widget. Here is the universal code I pasted:

    <!– Begin Constant Contact Active Forms –>
    <script> var _ctct_m = “38ea2e4c3beaf287db53ae7208195f08″; </script>
    <script id=”signupScript” src=”//static.ctctcdn.com/js/signup-form-widget/current/signup-form-widget.min.js” async defer></script>
    <!– End Constant Contact Active Forms –>

    As you can see, no form shows up on my website. Please help.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Constant Contact

    (@constantcontact)

    Looks like you’re missing part that’s needed to store the actual embed code. The part above just loads some javascript and declares some variables.

    I just created a test form in constantcontact.com and have the messaging of “To get it on your site, install the Inline Code and the Universal Code.” with “Inline Code” and “Universal code” both links.

    The inline code will look something like this:

    <!-- Begin Constant Contact Inline Form Code -->
    <div class="ctct-inline-form" data-form-id="XXXXXXXX-5ede-4802-8f87-cf552f6cd7cf"></div>
    <!-- End Constant Contact Inline Form Code -->
    

    and goes where you want the form to appear.

    Thread Starter Dylan

    (@gotalifethanks)

    Hi, when I click the Publish button after creating the inline form how I want it, all I get is a little box that has Universal Code with instructions to click on it to copy it the code to my clipboard. I don’t see any inline code. I guess I’m still missing something.

    Thread Starter Dylan

    (@gotalifethanks)

    Okay, I found the Inline code. I pasted it into the footer widget. I am guessing the Universal code has to go in the header, right? Are you able to tell me where to put the Universal?

    Plugin Author Constant Contact

    (@constantcontact)

    the universal can go in either area really. If you’re worried about initial load time, won’t hurt to keep it towards the footer so that it loads after the page has generally finished.

    Thread Starter Dylan

    (@gotalifethanks)

    I got it figured out. It worked, I just didn’t like how it looked so I removed the code for now, so I could fiddle around with a few widgets. Thank you for getting me going on the right track.

    Plugin Author Constant Contact

    (@constantcontact)

    Welcome πŸ™‚

    dancesportkingdom

    (@dancesportkingdom)

    Hi, I have the same problem – except I’ve pasted the Universal code into the Footer using plugin “Insert headers and footers” and then placed the Inline code into Site Origin Editor (I’m using a site origin page builder) on the Contact us page (where I want it).

    The form doesn’t appear on the page I want it to though.

    It appears on the posts page! https://dancesportkingdom.com.au/home/latest-news/

    How do I get the Inline form on the Contact us page where I want it?

    Plugin Author Constant Contact

    (@constantcontact)

    It looks like it’s on the Contact Us page as well, towards the bottom below the 2 dancers, but it’s also appearing to appear in the sidebar that’s displayed on the blog posts area.

    dancesportkingdom

    (@dancesportkingdom)

    Oh yes, it’s suddenly appeared on the Contact us page! How strange! How can I remove it from the Posts page …..I do not remember placing it here! https://dancesportkingdom.com.au/home/latest-news/

    Plugin Author Constant Contact

    (@constantcontact)

    I would check your widget admin area and see if there’s a stray widget with the embed code in it. Beyond that, it’s really hard to say exactly where it’s placed at, without having some sort of admin access.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Where to paste code in WordPress site’ is closed to new replies.