Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] Registration tracking with goals in GA

12 years 9 months ago - 12 years 1 month ago #187478 by prophotodx
Does anyone have a suggestion how to track new registrations via Google Analytics Goals? I don't think the default of using the /comprofiler/registers.html and the subsequent page of /comprofiler/ is going to work.

Anyone already doing this? Thanks for your input.
Last edit: 12 years 1 month ago by krileon.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
12 years 9 months ago #187571 by krileon
Replied by krileon on topic Re: Registration tracking with goals in GA
Sorry, have no experience with thew new Google Analytics. If it's based off URL, which seams to be the case according to their instructions then the below URLs would seam appropriate.

Start Registration:
index.php?option=com_comprofiler&task=registers

Completed Registration:
index.php?option=com_comprofiler&task=saveregisters

The above completed registration URL could be false at times however if a user errors out during registration. Ideally a new plugin utilizing their JS API to be executed after registration using triggers would be best, which you can possible accomplish by using CB Auto Actions and a code action to include JS to the header.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

12 years 9 months ago #187590 by prophotodx
Replied by prophotodx on topic Re: Registration tracking with goals in GA
Any other ideas? It seems like I've only had about 1/4 of my signups show up in GA. The urls you gave would be fine but I have SEO urls turned on.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
12 years 9 months ago #187598 by krileon
Replied by krileon on topic Re: Registration tracking with goals in GA
You'll need to get the SEO versions of the URLs then. Example as follows.

Start Registration:
/comprofiler/registers.html
/comprofiler/registers/

Completed Registration:
/comprofiler/saveregisters.html
/comprofiler/saveregisters/

It depends on what Itemid it's using as it could be comprofiler (component name) or it could be the menu links alias if a Itemid is supplied with the URL. Example as follows.

/my-profile/registers.html


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • citydan
  • citydan
  • OFFLINE
  • Posts: 44
  • Thanks: 2
  • Karma: 1
12 years 2 months ago #209056 by citydan
Replied by citydan on topic Re: Registration tracking with goals in GA
I am interested in setting Google Analytics events for user Registration. I have basic (no CBSubs) registrations as well as several CB plan registrations.

I am trying to use CB AutoActions plugin.

I have:
Type: Code
Triggers: onAfterUserRegistration
User: Automatic
Access: Everybody
Conditional: null

And I've tried a few methods: Header, HTML and JS(inline) with no luck. I'm new to js.

I am testing with an alert:
onload="alert('Registration Successful');"
but can't get it to show. If I could do this, then I would switch this function out for the Google Analytics Event tracking code. Then I could set up Goals in GA based on Events in GA. The code is:
onLoad="_gaq.push();"

If I can get this code to fire when a new user registers, then as I understand it this should work regardless of which CB Sub (if any) a user is signing up for at the time of registration.

Can you suggest which Method and Code syntax are correct?

Also, if anyone has ideas on how to track registrations of different types (for example a different GA Event Tracking code for each different CB Sub subscription at the time of Registration) that would be much appreciated.

Please Log in or Create an account to join the conversation.

  • citydan
  • citydan
  • OFFLINE
  • Posts: 44
  • Thanks: 2
  • Karma: 1
12 years 2 months ago - 12 years 2 months ago #209059 by citydan
Replied by citydan on topic Re: Registration tracking with goals in GA
Just thinking on how to segment my GA Goal tracking based on CB Subs plans...

I am using CB Subs to add a User Group, a different user group for each CBSub plan.

If I set 'Access' in CB AutoActions plugin for "Job Seeker" (one of my User Groups), will CBSubs add that user group to the user before CBAutoActions runs onAfterUserRegistration?

The idea would be to set up a Google Analytics Event Tracking Code for each of my 7 CBSubs plans, each with a different Access setting. So I would end up with 7 different Event types in GA:
onLoad="_gaq.push();"
onLoad="_gaq.push();"
onLoad="_gaq.push();"
onLoad="_gaq.push();"
onLoad="_gaq.push();"
onLoad="_gaq.push();"
onLoad="_gaq.push();"

And one that just fires on Access = Registered
onLoad="_gaq.push();"
Which will fire on all basic (non-CBSubs) registrations where CBSubs has not removed the Registered User Group and added the plan-specific user group.

Here is the reference for Google Analytics Event Tracking:
developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide

Then I plan to set up Goals in Google Analytics based on each of these Events. That way I will be able to track conversion rates for each type of traffic source, email campaigns, etc.

I hope this is helpful info. I just need some assistance getting the js code to fire at the right time :)
Last edit: 12 years 2 months ago by citydan.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum