Page 1 of 1

Need help with Thank You page

PostPosted: January 27th, 2011, 10:14 pm
by millenniumfly
Hello. I'm trying to figure out how to include a thank you page into the s2member / Paypal link in order to track Google Adwords conversion tracking. Unfortunately, I'm stumped.

I thought maybe I should use my thank you page as the Login Welcome Page, however, I'm afraid that whenever anybody logs in, they will be directed to the thank you page rather than the page I want them to see, which isn't what I'm intending.

Basically, I have no idea how to include Google Adwords conversion tracking code into my site in order to track confirmed purchases from Paypal. Any ideas? Thanks in advance for any assistance.

Re: Need help with Thank You page

PostPosted: January 28th, 2011, 12:43 am
by Cristián Lávaque
By "Google Adwords conversion tracking code" I get you mean Google Analytics, right? For that you'd install a Google Analytics plugin for WordPress and configure it.

http://wordpress.org/extend/plugins/goo ... wordpress/

Re: Need help with Thank You page

PostPosted: January 28th, 2011, 12:39 pm
by millenniumfly
I think I mean a "Google Adwords conversion tracking code". It is something that Google supplies you with (from an Adwords account) when you're trying to track clicks from a Google Ad.

In this case, I'm trying to track how many sales I get and, most importantly, from which ads and keywords. From what I understood, the best way to do this was by using a "thank you" page where I would insert the Adwords tracking code into the "thank you" page, which is ONLY accessible immediately after a sale has been made.

The thing I don't understand is: how do I go about implementing this "thank you" page idea when the PayPal "Auto-Return URL" is a s2Member-required redirection?

Re: Need help with Thank You page

PostPosted: January 28th, 2011, 1:26 pm
by Cristián Lávaque
Ah ok, now I understood what you mean.

Re: Need help with Thank You page

PostPosted: January 31st, 2011, 8:48 pm
by millenniumfly
So, any idea what to do?

Re: Need help with Thank You page

PostPosted: January 31st, 2011, 10:59 pm
by Cristián Lávaque
Well, you have the auto-return URL. To that you could add a variable like this

http://yourwebsite.com/?s2member_paypal_return=1&conversion=1

That you pick up from $_POST in the theme's template wherever it's supposed to go (in the <head> or right before the </body>?) and if present, then echo the Google AdWords Conversion Tracking Code there.

Code: Select all
<?php if (isset($_POST['conversion'])) { ?>
Here goes the tracking code.
<?php } ?>

Re: Need help with Thank You page

PostPosted: March 15th, 2011, 12:19 pm
by webfadds
Hi -

We have a free site and would like to track members by simply redirecting them to a custom thank-you page for NEW members, but not those already signed up (redirect to dashboard page). Is this possible?

Thanks -
Scott

Re: Need help with Thank You page

PostPosted: March 15th, 2011, 4:34 pm
by Jason Caldwell
Thanks for the excellent question.
millenniumfly wrote:Hello. I'm trying to figure out how to include a thank you page into the s2member / Paypal link in order to track Google Adwords conversion tracking. Unfortunately, I'm stumped.

I thought maybe I should use my thank you page as the Login Welcome Page, however, I'm afraid that whenever anybody logs in, they will be directed to the thank you page rather than the page I want them to see, which isn't what I'm intending.

Basically, I have no idea how to include Google Adwords conversion tracking code into my site in order to track confirmed purchases from Paypal. Any ideas? Thanks in advance for any assistance.

s2Member actually provides a built-in method of ensuring that your conversion tracking codes are displayed exactly ONE time for each paying Customer. You'll want to paste your conversion tracking code(s) into the fields provided by s2Member in your Dashboard, under: s2Member -> API Tracking.

Re: Need help with Thank You page

PostPosted: March 16th, 2011, 8:47 am
by webfadds
Hi -

Thanks for directing us to that spot, Jason. I have read it, but still cannot understand what to enter in Google Analytics to track a new free registration. I read this:
%%cv1%% = If you need to track additional custom variables, you can pipe delimit them into the `custom` attribute; inside your Shortcode, like this: custom="www.contentmarketinginstitute.com|cv1|cv2|cv3".

So... does that mean that if I placed %%cvregister%% in the form on the API Tracking Code page, that I could then use Analytics to track and count as a conversion, this URL: http://www.contentmarketinginstitute.com|cvregister

I want to double check two things: that is the correct URL with pipe character; and that only occurs on login the first time for a new member.

Thanks -
Scott