PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Need help with Thank You page

s2Member Plugin. A Membership plugin for WordPress®.

Need help with Thank You page

Postby millenniumfly » January 27th, 2011, 10:14 pm

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.
User avatar
millenniumfly
Registered User
Registered User
 
Posts: 3
Joined: January 27, 2011

Re: Need help with Thank You page

Postby Cristián Lávaque » January 28th, 2011, 12:43 am

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/
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Need help with Thank You page

Postby millenniumfly » January 28th, 2011, 12:39 pm

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?
User avatar
millenniumfly
Registered User
Registered User
 
Posts: 3
Joined: January 27, 2011

Re: Need help with Thank You page

Postby Cristián Lávaque » January 28th, 2011, 1:26 pm

Ah ok, now I understood what you mean.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Need help with Thank You page

Postby millenniumfly » January 31st, 2011, 8:48 pm

So, any idea what to do?
User avatar
millenniumfly
Registered User
Registered User
 
Posts: 3
Joined: January 27, 2011

Re: Need help with Thank You page

Postby Cristián Lávaque » January 31st, 2011, 10:59 pm

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 } ?>
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Need help with Thank You page

Postby webfadds » March 15th, 2011, 12:19 pm

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
User avatar
webfadds
Registered User
Registered User
 
Posts: 4
Joined: February 18, 2011

Re: Need help with Thank You page

Postby Jason Caldwell » March 15th, 2011, 4:34 pm

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.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Need help with Thank You page

Postby webfadds » March 16th, 2011, 8:47 am

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
User avatar
webfadds
Registered User
Registered User
 
Posts: 4
Joined: February 18, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 1 guest

cron