AdWords
1.7K members online now
1.7K members online now
Use AdWords conversion tracking and reporting to measure your results. Have a question about Google Analytics? Post it here, on the Google Analytics Community!
Guide Me
star_border
Reply

AdWords Conversion iframe Tracking

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

I'm trying to find a way to track AdWords Conversions on a website where the forms are within an iframe. Here is the site https://goo.gl/IockaL

 

I thought I would be able to track this using events, but it doesn't appear that this will work. A friend said postMessage is the way to go and shared this URL. https://goo.gl/3VITeV

 

I'm not sure how to do this but would appreciate some assistance and can arrange for contract work. Of if there are enough instructions I can try to do it myself.  I really appreciate any help with conversion tracking.

 

2 Expert replyverified_user

AdWords Conversion iframe Tracking

Top Contributor
# 2
Top Contributor

You should  find a method to redirect the user after completing the transaction back to your site.

Let me ping our programing specialist.

@petebardo

Moshe, AdWords Top Contributor , Twitter | Linkedin | Community Profile | Ad-Globe
Did you find any helpful responses or answers to your query? If yes, please mark it as the ‘Best Answer’

AdWords Conversion iframe Tracking

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭

Thank you peter, I would appreciate help. The forms have a thank you page powered by the form provider. I'm guessing we would create a custom thank you page on the site. I've actually seen your solution to other iframe tracking questions. Thank you for any additional help. 

AdWords Conversion iframe Tracking

Top Contributor
# 4
Top Contributor

Hi Anne H,

The problem is your forms submit to a 3rd party for processing. If that 3rd party is not able to return a thank you page with your conversion tracking code on it, this will be very difficult to do. Since the iFrame src is a different domain, you won't be able to access it with any kind of Javascript in the top page.

So, you have two options here.

1. Ask the 3rd party to add your AW conversion code to the thank you page.

2. Create a custom thank you page with your AW conversion code on it. If that's not an option with your provider, doing this can get very complicated. I'm not even sure what I have in mind in this case would work if the provider doesn't provide this option.

It basically goes like this:

Have the form submitted to your own server. Pass the data to your provider with an http request. Read the returned file to determine if the submission was successful, then show your own thank you page with your AW conversion code on it plus the thank you page returned by your provider.

This would be a non-trivial exercise. I'm not sure I'd want to take it on as I don't know whether I'd be able to complete the project at a reasonable expense, but it is interesting. (I don't generally take on projects other than for my boss anyway.) I would estimate this project at 8 hours or less for development, testing, and release.

Best of Luck!

 

Pete

 

petebardo -- Deadhead doing AdWords