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
-
Do IP and/or DNS changes impact Paid search (Adwords, Bing, etc.)
What impact (if any) does IP or DNS changes, have on paid search campaigns? We recently performed an upgrade to our sites that required a datacenter change (but within the same region East US) and DNS change. We believe there may have been an impact to our ad campaigns in the form of suppression of our ads following the change, specifically - Google Adwords. Is there any information regarding this issue or has anyone experienced this before? Thanks
Paid Search Marketing | | MWM37721 -
Brand Impressions & Clicks down massively
HI We've seen a huge drop in impressions for brand terms in Adwords. YOY - 37,140 vs. 792. Our impression share is still high. An agency manage this for us and can't seem to find a reason, but the drop is huge - it seems like it's just people not searching but we haven't seen this in organic and the drop is so huge we wondered what else it could be? Paid is fairly new to me, so just doing some fact finding 🙂
Paid Search Marketing | | BeckyKey0 -
Adwords negative keywords / keyword lists conflicting?
Does any of you had any experience on large 5k+ shared negative keyword lists impacting normal campaign negative keywords in Adwords even if they are not selected on these campaigns? And a second question; does anyone know how selected negative keyword lists can be removed from a campaign? I seem to be able to add them but not to remove them... Cheers!
Paid Search Marketing | | hellemans0 -
Google URL Builder / Campaign Tracking on two Different Domain using the Same Analytics Code
Hey Everyone, I think I know the answer to this but I'd like to get some confirmation. I currently have a landing page at "www.xyz.com", it's a separate domain in which only the landing page exists and not a vanity URL which redirects. However, the navigation and all the links on "www.xyz.com" actually link out to "www.abc.com". The domain / landing page "xyz" has the same analytics tracking code as domain "www.abc.com". My question is this, if I use Google URL builder to create custom URL's to track for each ad that I'm running in Adwords, will this data show up in the analytics of "abc" even though it's a separate domain because it has the same analytics code? In other words, does campaign data show only if the domain and the google analytics code line up, or does the domain not matter and as long as you have the same analytics code (despite two separate domains) that campaign data (built through Google URL builder) will show? My hunch and best guess it that as long as the analytics code is the same (regardless of a separate domain) that the data in campaign will show with the custom URL's I build. I'm aware that I can test this and I will but I'd like to get an idea from the community first to make things easier. Anybody have experience with this? Answers greatly appreciated! Thanks!
Paid Search Marketing | | EvansHunt0 -
Best practice to separate paid from organic conversions in Google Analytics
I have a PPC campaign for a client with standalone landing pages with a form, not reachable from the website (although in the same domain). I've added the AdWords conversion code to the "thank you" page and I also added a Goal in
Paid Search Marketing | | DoMiSoL
Google Analytics whose counter is increased every time the thank you page is reached. This way I can track conversions with both AdWords and Analytics. Is that correct? Should I import back in AdWords the goals from Analytics, as suggested in the AdWords account? I have another landing page with a form in the website, where I send users coming from
organic search, so I set up a second goal in Analytics for the thank you page of this form. Is this the reason why I am supposed to import in AdWords the analytics' goals, so that I could see both kind of conversions in both accounts? But the most important question is: If I send both PPC/organic visitors to the same landing page is there still a way to separate PPC from Organic conversions? Thank you very much for your advice. DoMiSoL Rossini0 -
World Localities in AdWords?
If I target the topic "World Localities>San Antonio", what type of sites my ads will be display? Are they sites about San Antonio, like tourism guides or event listings? Or are they related to San Antonio, like a university or flower shop in San Antonio?
Paid Search Marketing | | howlusa0 -
Cost per click on PPC
What is the best way to get a good cpc estimate other than actually running the campaign? I have had several people asking for budgets and wasn't sure how to answer. Any suggestions?
Paid Search Marketing | | ClickIt0