AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Analytics
2.4K members online now
2.4K members online now
Learn how to set up goals and Ecommerce tracking, verify accuracy of attribution traffic sources, and discuss funnel visualization, Multi-Channel Funnels, the Goal Flow Report, and Enhanced Ecommerce
 
Guide Me
star_border
Reply

Goal Tracking in Analytics

[ Edited ]
Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi,

 

I have created a goal that I want tracked: "Request a Demo". It is supposed to track people that submit our demo form (that is iFramed on the page).

Unfortunately, that is not working. Attached is a screen shot of what I see when I "inspect" the page and submission in Google Chrome:2015_01_-_Google_Analytics_Request.png

 

Our form is hosted by Pardot. I have had them look at the coding on the form and the template and they have not found anything wrong.

 

Can you please help?

 

Thanks in advance!

Lisa

 

 

Here is the code on the Form's thank you content:


<script type="text/javascript">
try {
  ga('create', 'UA-228099-1', 'auto'); ga('send', 'pageview', '/thankyou'
  );
} catch (err) {}
</script>

 

 

Here is the code that is on the Form's template:

<!-- Google Analytics Universal Tracking Code -->
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-228099-1', 'auto');
  ga('send', 'pageview');

</script>

    %%content%%
</body>

 

The Goal details in Google Analytics are:

Goal_Details_GA.png

 

Re: Goal Tracking in Analytics

A T
Participant ✭ ✭ ✭
# 2
A T
Participant ✭ ✭ ✭
Hi,

You can start with basic debug on the website with GA debugger:
https://chrome.google.com/webstore/detail/jnkmfdileelhofjcijamephohjechhna

You can check in chrome, console tab with 'Preserve log' turned ON.

Best Regards,
GA Guru.

'Star' or 'Accept as Solution' if it helped.