Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Moz API Home
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • SEO Q&A
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • Case Studies
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • SEO Q&A

        Insights & discussions from an SEO community of 500,000+.

      Unlock flexible pricing & new endpoints
      Moz API

      Unlock flexible pricing & new endpoints

      Find your plan
    • Blog
    • Why Moz
      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • Case Studies

        Explore how Moz drives ROI with a proven track record of success.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. Home
    2. Digital Marketing
    3. Paid Search Marketing
    4. Adwords Conversions - Trying to track button clicks that fire when Bootstrap modal contact form clicked/opened

    Moz Q&A is closed.

    After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

    Adwords Conversions - Trying to track button clicks that fire when Bootstrap modal contact form clicked/opened

    Paid Search Marketing
    2
    6
    2824
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • SEODarren
      SEODarren last edited by

      Hi there,

      I'm trying to implement google adwords conversions on a particular client's website. They have used bootstrap as the framework for their site and mainly open up contact forms within a bootstrap modal, after a button is clicked.

      See here: http://www.gtwstorage.co.uk/

      I thought I had successfully implemented the adwords conversion tracking however it has been a week now, and my conversions still say they are "unverified". I wonder if anyone else has encountered this before and knows what I might be doing wrong.

      Thank you in advance,

      Darren

      1 Reply Last reply Reply Quote 0
      • TrentonGreener
        TrentonGreener @SEODarren last edited by

        Darren,

        When testing the goal, it's looking back on past data. So if it's a new event that is being tracked, then it could be setup correctly and the validation would still say, "0% conversion rate based on your data from the past 7 days."

        That being said, if you still don't see any completions after a few days (I'd recommend testing it manually a bit), then let me know and we'll see if we can troubleshoot the issue.

        Trenton

        1 Reply Last reply Reply Quote 0
        • SEODarren
          SEODarren @TrentonGreener last edited by

          Hi again Trenton,

          Bit of a delay in trying this... but I managed to get it going. Sort of. Here's where I'm at.

          1. Generated the code needed in Raventools.
          2. Created my goal within Google Analytics as per Raventools instructions.
          3. Went to Ninjaforms for help implementing the Raventools code on contact form submission.
          4. Used the following code snippet (http://docs.ninjaforms.com/customer/en/portal/articles/1981036-general-guidance-firing-custom-javascript-on-ajax-submission?b_id=917) to fire the Analytics code on successful submission using Ajax.
          5. The code in question:jQuery(document).on('submitResponse.example', function( e, response ){    if ( response.errors == false ) {        onClick="ga('send', 'event', { eventCategory: 'Contact', eventAction: 'Storage Request', eventLabel: 'Contact Form'});"    }    return true;});
          6. Event does not register.

          Other things to note:

          • I know that my javascript file is working ok as I loaded up some test js to check. So my issue must lie in implementation of the goal, or the code snippet recommended by Ninja Forms.
          • When testing the goal, I get this message: "This Goal would have a 0% conversion rate based on your data from the past 7 days. Try a different set-up." But I'm nigh on sure I have set it up correctly! I must be missing something.

          Darren

          TrentonGreener 1 Reply Last reply Reply Quote 0
          • TrentonGreener
            TrentonGreener @SEODarren last edited by

            Hey Darren,

            While I guess you could say that this is a personal preference, it is not without reason for using this specific tracking manner.

            The main advantage here is that you'll be tracking form completions, not when someone begins to fill out the form, so it's a more accurate means of tracking. Another advantage is that you'll handle both Google Analytics & Google AdWords tracking in one fell swoop. While you still need to 'import' the conversions to AdWords, there is no need to use the AdWords specific tracking code. Once Google Analytics & Google AdWords are linked, you'll simply just select that specific goal and then import it.

            What the raventools link is saying is to put that bit of code in the actual code on the webpage(s) of your site, specifically in the submission section of the code. That way when the 'submit' button of the form is pressed, the code will execute triggering the event in your Google Analytics.

            Let me know if you need any further clarification or help here!

            Regards,
            Trenton

            SEODarren 1 Reply Last reply Reply Quote 1
            • SEODarren
              SEODarren @TrentonGreener last edited by

              Hi Trenton,

              Thanks for getting back to me. Really appreciate it.

              I fixed that issue - thanks - I had no idea it was a problem.

              I'm relatively new to conversions and implementing such tracking. What are the reasons for this process over the one I was asking about? Is it a better, more tried and tested means of tracking? Or is this your preference? Does your suggested process cut the need to implement conversions via adwords altogether (I want to be able to see conversions in adwords as well as analytics)?

              Can you clarify something on one of the links you sent to me please? It is this one: https://raventools.com/gaconfig/google-analytics-event-tracking/contact-form/ - near the bottom there is field titled "Place the following code within the code of your submission link:" - is this the submission button?

              Thanks a lot!

              Darren

              TrentonGreener 1 Reply Last reply Reply Quote 0
              • TrentonGreener
                TrentonGreener last edited by

                Hey Darren,

                I'm assuming you want to track form completions as Adwords conversions here? I have a way for you to not have to use AdWord's conversion code that is relatively simple, but before we get to that I think the site may be having an issue that might be the reason for you not being able to verify the conversions as of yet.

                When I went to http://www.gtwstorage.co.uk/ on both Android, Chrome, & Edge I wasn't able to get any of the forms to properly load. So I think there's a very real chance that this could be a reason for you to not be able to verify the conversion pixel.

                Assuming that gets fixed, the best way to track form completions in AdWords as conversions is to implement event tracking in Google Analytics on all form submissions, then create a goal based on that specific event happening, and finally import this goal to AdWords (assuming the AdWords and Google Analytics profiles have already been linked).

                If you need help with any of this:

                • Here is the Google documentation on linking AdWords & Analytics
                • Here is a link to a great tool from Raventools that makes Event creation easy to add to forms
                • Here is Google's documentation on creating goals within Google Analytics, including event goals
                • Here's some more information from Google about what events are & how they function
                • Finally, here's how to import goals from Google Analytics to Google AdWords

                While this is a good bit of reading, I promise you that it's worth your time. If you have any further questions on this feel free to respond in this thread and I'll help you through it!

                Regards,
                Trenton

                SEODarren 1 Reply Last reply Reply Quote 1
                • 1 / 1
                • First post
                  Last post

                Got a burning SEO question?

                Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                Start my free trial


                Browse Questions

                Explore more categories

                • Moz Tools

                  Chat with the community about the Moz tools.

                • SEO Tactics

                  Discuss the SEO process with fellow marketers

                • Community

                  Discuss industry events, jobs, and news!

                • Digital Marketing

                  Chat about tactics outside of SEO

                • Research & Trends

                  Dive into research and trends in the search industry.

                • Support

                  Connect on product support and feature requests.

                • See all categories

                Related Questions

                • ZestUK

                  Attributing Lead Source/Medium on Squarespace forms

                  Hi Mozzers Happy new year! We've recently picked up a client for some PPC and SEO work and their website is built using Squarespace. It's a B2B business, so enquiries don't always get sent straight from a landing page. Often a user hits our desired landing pages then checks out a few other pages before sending an enquiry. The problem we have is with attaching the source/medium of a lead to the enquiry that we receive. For example if Joe Bloggs completes a form, what we'd like to receive is:
                  Name: Joe Bloggs
                  Email: joe.bloggs@email.com
                  Phone: 123456
                  Source: Google
                  Medium: CPC With the latter as hidden fields. We've tried the hidden field feature built into the form builder, but this only works if the user completes the form on the landing page they arrived on without leaving the page. We've tried to used event tracking but this only gives us accuracy on the number of enquiries from that channel, not who the user was that enquired, so we can't consolidate with our order and revenue report to work out ROI from each activity. Has anybody in the community ever solved this issue on Squarespace? Thanks
                  Mark

                  Paid Search Marketing | | ZestUK
                  0
                • DanDeceuster

                  Can a third-party advertising agency lock me out of Adwords?

                  Hey all, I've just started at a new company. We spend quite a bit on Adwords and I'm tasked with seeing how that is going and assessing that spend. The problem is, Adwords and Youtube ads have been given to a third-party advertising agency. They are only willing to share the number of clicks, cost and conversions, stuff like that. They refuse to give us access to the account. Is this legal? I mostly want to get in there to look at keyword history, see what we have bid on, how often it was searched, stuff like that. But they won't let us in and I'm wondering if they are required to let us look at our account as I would think they are. Please help!

                  Paid Search Marketing | | DanDeceuster
                  2
                • catalystmdc

                  What is the best way to update Adwords final URLs if I'm moving to a new CMS?

                  Hi there - One of my clients is redeveloping its website. That means, the domain is remaining the same, but the whole site is being rebuilt in wordpress so all the adwords final URLs need to change OR be redirected. There are 550 live adgroups and 3400 ads. We haven't set up tracking. I can't find anywhere what the best thing to do is in this case. The key issues seem to be: 1. 301 redirects - given we have to do these anyway as part of migration, this seems to be the easiest path as Google is ok about redirects as long as they don't go to a different domain. From what I'm hearing, you don't get adversely impacted in terms of quality score etc. This has the huge advantage that you don't have to edit the ad therefore no loss of statistical history or risk of downtime whilst you wait for approval. HOWEVER, there is some concern that if you then redirected again IN THE FUTURE, the redirect might not work (in some browsers) or cause a loop. I'm also concerned that it's messy to leave it like that (ie: with the wrong URLs throughout). 2. Buik updating ads - I don't think this is an option as if you bulk download and then reupload, Google will see this as a new ad, and delete all the statistical history - I'm also concerned that that WOULD impact quality score as you'd be starting from scratch! 3. Changing each ad individually - as far as I understand you'd have to create copies of all the ads (so that you keep the history of the old ones) and effectively create new ones with the correct URL - one by one. You end up with a messy account (a lot of paused ads) but you keep the history? This is obviously the most time consuming and I can't see a way of avoiding ads having to go in for approval again, given the urls are all different, so you'd have to do this a an ad level, not an adgroup/campaign level etc. People redevelop their websites (without changing domains) all the time. It seems strange that no one is mentioning this problem! Any ideas?! Many thanks

                  Paid Search Marketing | | catalystmdc
                  0
                • JoeyPasq

                  Is there a way to track visitors that watched my video on YouTube and became a direct visitor to my website after the fact?

                  I am trying to understand the impact my commercials are having on website beyond just the clicks I get from YouTube as a referring site. Google is telling me there is not a way to track users that have viewed a video. I am trying to think outside of the box to figure out a way to use the remarketing cookie to my advantage. Google says there is not a way to track a user that watched a video and then eventually came to my site. But at the same time the "Earned Views" metric is similar to what I am trying to accomplish. As per Google, "An earned view occurs when someone who views your video ad and then watches another video or videos in a linked YouTube channel within 7 days of the ad view." So I want to be able to apply this same method to people that view my video ad and then surface on my website eventually. Please let me know your thoughts on this and if there is a way to accomplish this goal. Thank you

                  Paid Search Marketing | | JoeyPasq
                  0
                • Crystalline_15

                  Google Analytics showing my Adwords campaign bounce rate at 0%

                  I am relatively new to Adwords, and I can't figure out why the Adwords section of Analytics is showing all my site visitors at 0% bounce rate.  Does that mean the account connection is not done right?  Obviously Google ads are not a 0% bounce rate. If I can't get that to work, does anyone know how Google ads appear in Traffic?  Is it Direct or Referral? I'm sure there's some simple answer I'm just not aware of, I would appreciate anyone's help. Thanks!

                  Paid Search Marketing | | Crystalline_15
                  0
                • benjmoz

                  Using multiple domains in one Adwords account

                  Hi, I am currently setting up an Adwords account and wanted to know if you can run multiple websites through one account. We have 2 domains each promoting a different one of our brands and i was wondering the best way to run the account. Regards Ben

                  Paid Search Marketing | | benjmoz
                  0
                • spencerhjustice

                  Why does my google analytics show a massive discrepancy from facebook's reported website clicks?

                  We're running a Facebook news feed ad that is pointing at our homepage. Facebook says that for yesterday there were 47 website clicks. Google analytics shows 15 total visitors from facebook with 3 of them landing on the homepage. I understand that there is likely going to be some discrepancy with users accidentally clicking and clicking back before the page loads, but this seems a little insane. I tested the ad using a page that pulls the Analytics cookie data using php and it is working properly so I don't understand what's happening. The url isn't tagged with utm parameters, which is going to be fixed.  Anyone experience this or have any insight as to what could be this issue? Is this click fraud? Edit: For more clarification I was checking on my completely unfiltered google analytics profile/view.

                  Paid Search Marketing | | spencerhjustice
                  0
                • Unity

                  Adwords: Brand ads appear bottom of SERPs

                  Hello, I'm running a sale promotion on a brand only Adwords campaign (I have the only account with trademark authorization) and have noticed that my ads are appearing at the bottom of the first page on Google. This happened last week so I split the campaign into three Adgroups and that fixed the problem but today I'm running brand only and there is no way to separate them. CPC has also increased dramatically. Normally it's less than 10 cents and now it's sitting at between $2-$4. Has anyone else seen this? Any ideas/advice on how to stop this happening? It's playing havoc with my CTR and conversions. Much thanks,
                  Davinia

                  Paid Search Marketing | | Unity
                  2

                Get started with Moz Pro!

                Unlock the power of advanced SEO tools and data-driven insights.

                Start my free trial
                Products
                • Moz Pro
                • Moz Local
                • Moz API
                • Moz Data
                • STAT
                • Product Updates
                Moz Solutions
                • SMB Solutions
                • Agency Solutions
                • Enterprise Solutions
                Free SEO Tools
                • Domain Authority Checker
                • Link Explorer
                • Keyword Explorer
                • Competitive Research
                • Brand Authority Checker
                • Local Citation Checker
                • MozBar Extension
                • MozCast
                Resources
                • Blog
                • SEO Learning Center
                • Help Hub
                • Beginner's Guide to SEO
                • How-to Guides
                • Moz Academy
                • API Docs
                About Moz
                • About
                • Team
                • Careers
                • Contact
                Why Moz
                • Case Studies
                • Testimonials
                Get Involved
                • Become an Affiliate
                • MozCon
                • Webinars
                • Practical Marketer Series
                • MozPod
                Connect with us

                Contact the Help team

                Join our newsletter
                Moz logo
                © 2021 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                • Accessibility
                • Terms of Use
                • Privacy

                Looks like your connection to Moz was lost, please wait while we try to reconnect.