Sign Up for OSTraining

Welcome, Guest
Username: Password: Remember me

TOPIC: implementing adwords code using RSforms + goals Google analytics

implementing adwords code using RSforms + goals Google analytics 1 year 1 week ago #48425

  • mlehr
  • mlehr's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 371
  • Karma: 0
Hi,

1. In order to measure my leads by Adwords, I want to implement a Adwords code in the 'thank you page' of one of my RSforms forms. I guess there should be an easy way using RSforms. Maybe in the phpscript part (in properties)? Can you advise me?

2. Implementing Google Analytics goal (code): normally you have to fill in in Google Analytics the URL of the 'thank you' page. Now using RSforms, the 'thank you' page is the page as where clients fill in and submit the form. How van I solve this?

Maurice
Maurice
Please become a member of OSTraining to reply to this post.

implementing adwords code using RSforms + goals Google analytics 1 year 1 week ago #48458

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 17179
  • Thank you received: 445
  • Karma: 63
Hi Maurice,

Give their Google Analytics plugin a try first. It automatically integrates it for the thank you page.

Let us know if that works out for you or not.

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

implementing adwords code using RSforms + goals Google analytics 1 year 4 days ago #49118

  • mlehr
  • mlehr's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 371
  • Karma: 0
Hi Nick and everyone who is interested in thsi subject,

Their plugin did not work for me, partly beacause I use the "Asynchronus" plugin for alle my other pages. After consulting RSformsPro I found another solution that works well. It uses "PHP scripts" tab. If you are intersted I can copy and paste their complete answer how one should do that.

Maurice
Maurice
Please become a member of OSTraining to reply to this post.

implementing adwords code using RSforms + goals Google analytics 1 year 3 days ago #49131

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 17179
  • Thank you received: 445
  • Karma: 63
Hi Maurice,

I'm glad to hear that you found something that works for you!

Yes, please paste the reply here for future people that might have the same issue :)

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

implementing adwords code using RSforms + goals Google analytics 1 year 3 days ago #49165

  • mlehr
  • mlehr's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 371
  • Karma: 0
Well, here it is, hope it helps other readers :-)
You should only use one tracking plugin, not both. In order to use the "Asynchronus" plugin in order to track the thank you page as well please try:

- disabling the RSForm!Pro - Google Analytics plugin;
- edit the form you want to track the submissions for;
- go to the "PHP scripts" tab;
- in the "Scripts called after form has been processed" you will have a variable '$u', this will control the URL of your thank you page. In order to make sure that the URL of the form page and the URL of your thank you page are different you could try adding an extra parameter to this variable, for example:

$u .= '&page=thankyou';

What this will do, if you have a form:

http://your_site_name/index.php?option=com_rsform&formId=13

when the form will be submitted the URL will be 

http://your_site_name/index.php?option=com_rsform&formId=13&page=thankyou

If you are using SEF URLs and you do not have any extra parameters in your URL then you will need to use '?' instead of '&' since the page parameter will be the first parameter in your URL.

This way you will have two different URLs for your form and thank you page and you can use the asynchronus plugin in order to track both pages.

Regards, Maurice
Maurice
Please become a member of OSTraining to reply to this post.

implementing adwords code using RSforms + goals Google analytics 1 year 3 days ago #49168

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 17179
  • Thank you received: 445
  • Karma: 63
Thanks, Maurice! :)

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

implementing adwords code using RSforms + goals Google analytics 4 months 2 weeks ago #64381

  • mlehr
  • mlehr's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 371
  • Karma: 0
Hi Nick,

Now for another website I want to implement the Google adwords code as well (in the thank you page). The part about creating a thank you page using Rsforms I still understand. What I cannot find anymore, where do I past the Google Adwords code? Somewhere in Rsforms or somewhre else?

Maurice
Maurice
Please become a member of OSTraining to reply to this post.

implementing adwords code using RSforms + goals Google analytics 4 months 2 weeks ago #64412

  • Nick
  • Nick's Avatar
  • OFFLINE
  • Administrator
  • Posts: 17179
  • Thank you received: 445
  • Karma: 63
Hi Maurice,

Sure, you could do it directly within the RSForms as a hidden field.

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.
The following user(s) said Thank You: mlehr

Sign Up for OSTraining

Copyright 2013 Open Source Training, LLC. All rights reserved.