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
-
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
-
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
-
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.
- Generated the code needed in Raventools.
- Created my goal within Google Analytics as per Raventools instructions.
- Went to Ninjaforms for help implementing the Raventools code on contact form submission.
- 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.
- 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;});
- 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
-
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 -
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
-
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
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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.
Related Questions
-
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:
Paid Search Marketing | | ZestUK
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
Mark0 -
Adwords Duplicate Keywords with Different Match Types - Good or Bad?
If you have the following keywords in an Ad Group advertising for a product, let's for example call it "target" product [target product] "target product" +target +product I've found that the exact match keyword has the highest conversion rate in almost all circumstances. So it would make sense to have a higher max bid on the exact match then phrase or broad batch. Even with lots of negative search terms to maximize conversion on the broader matches, if the bid is the same as exact match, the cost per conversion will be much higher (too high.) However in chatting with an Adwords Support Rep (on a different matter) they stated after looking through my account at the end of the chat: " duplicate keywords will impact on quality score. your all keywords will compete with each other" However many of the ad groups in question these duplicate keywords have quality score of 9 and 10. So obviously if there is an effect it seems it may be minimal. I thought it was pretty common for people to bid higher on more exact match and lower on more broad match. What's the real story here? Was this support rep not seeing the big picture?
Paid Search Marketing | | JCCMoz1 -
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_150 -
AdWords quality score of landing pages and subdomains popularity
Hello, I have an AdWords account whose landing pages point to (i.e.) http://www.domain.com/landing01.php I've been using this account for ages, it has a good score and history, so I want to keep it. The first question is: may I use landing pages on different subdomains within the same AdWords account (and in the same root domain)? I.E. (http://cheese.domain.com/landing01.php and http://wine.domain.com/landing02.php) 2nd question: the www subdomain has good subdomain metrics (authority /trust and, generally, links) while the "cheese" subdomain has not (no backlinks at all). Do I get any benefit in Adwords (like quality score or other) if I publish my landing pages under a subdomain with better subdomain metrics (or number of links)? Or should I just go with http://cheese.domain.com even it has no authority at all? Thank you, DoMiSoL Rossini
Paid Search Marketing | | DoMiSoL0 -
AdWords Sitelinks Disapproved
Hello,
Paid Search Marketing | | Instabill
I cannot find a justifiable reason as to why Google AdWords has disapproved my sitelinks. 1. My link text is descriptive of each page. For instance, I use the link text "Merchant Accounts" for the URL http://www.instabill.com/services/merchant-accounts/ 2. I have four extensions within one campaign. Each have 5 sitelinks with all the same link text and destination URLs. However, only two of the "Merchant Accounts" sitelinks were disapproved from two out of the four extensions. Two "High Risk Accounts" linking to our High Risk Merchant Accounts page were disapproved out of my four extensions, one "Industries We Serve" to our eCommerce Industries page was disapproved, and one "Offshore Accounts to our Offshore Merchant Accounts page was disapproved. Why are some disapproved and not all? 3. I use Daddy Analytics to generate my destination URLs for tracking purposes, but I do not see this as being an issue since the URL still begins with the URL in bullet point 1. After reading a few threads within the AdWords community and reading the AdWords Sitelinks Guidelines, I feel as if I have followed the guidelines. Any helpful advice would be appreciated.0 -
How Can I Target Certain Countries in Google AdWords without Excluding Other Countries?
So, here is the situation: Our company works with merchants worldwide (with the exception of those who live in excluded high-risk countries--mostly in Africa), but most of our Google AdWords leads come from Indian merchants. My CEO wants our campaigns to convert leads from other countries (i.e., the UK, Germany, US, Canada, Australia, etc.), but I have no idea how to do that without excluding India. However, my CEO does not want to exclude India from our AdWords campaigns as the leads are profitable. We simply want more diversity with out leads in terms of geographic location. I am sure there are resources on the Web about how to do this, but I am not an Adwords expert and am unsure of what phrases to search to find the answers. Direct advice or helpful links are much appreciated. Regards,
Paid Search Marketing | | Instabill
Meghan0 -
Click fraud
Whats the best software to use to protect against click fraud?
Paid Search Marketing | | DavidKonigsberg0 -
Adwords budget for different days of the week
We operate a Google Adwords campaign that clearly performs better conversion wise on Monday, Tuesday and Wednesdays ... What is the best way to stack a higher daily budget on specifc days in Adwords - There doesn't appear to be any formal way of doing this and the advice online is mixed...
Paid Search Marketing | | digitalarts0