3.7K 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

iframe tracking

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hello!

 

I hope that someone can help us.

 

To track clicks in an iframe, we inserted an analytics script inside the iframed page. Then we used analytics events to track clicks on that iframe but until now, we are unable to report any data in analytics from the iframe so we are doing something wrong...

 

Here is the main landing page:http://uniquecalacatta.com/

and the iframe url :http://uniquecalacatta.com/form_en_pro.html with the event triggered after click: onclick= "ga('send', 'event', 'Formulario_EN_PRO', 'Enviar', 'Contact_EN_Pro'); "

 

Do you have any idea on why this could happen? I can give you more information.

 

Thanks a lot for help on this.

Anaïs

1 Expert replyverified_user
1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by topic author Anaïs M
June 2016

Re: iframe tracking

Top Contributor
# 2
Top Contributor

Hi Anaïs,

remove the 'Gracias.' part from your tracking code shown in the example below and all should work fine.

 

Screenshot_99.png

 

Kind regards,

Zorin

Web analyst @ escapestudio.net

View solution in original post

Marked as Best Answer.
Solution
Accepted by topic author Anaïs M
June 2016

Re: iframe tracking

Top Contributor
# 2
Top Contributor

Hi Anaïs,

remove the 'Gracias.' part from your tracking code shown in the example below and all should work fine.

 

Screenshot_99.png

 

Kind regards,

Zorin

Web analyst @ escapestudio.net

Re: iframe tracking

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
A second point I wanted to mention in case of someone also know : we are doing AdWords campaigns using the main landing page url and want to import Analytics conversions in AdWords. Do you know if with these settings it can work? Do conversions will be asociated to the AdWords campaign?

Thanks in advance.
Anaïs

Re: iframe tracking

Top Contributor
# 4
Top Contributor
For the second point - yes but make sure AdWords and Analytics are connected - https://support.google.com/analytics/answer/1033961?hl=en and use the auto tagging option inside AdWords.

Kind regards,
Zorin
Web analyst @ escapestudio.net