Add support for google analytic events - when user register/logged in

hi
we need to add support for GA events after user register to our site, i need to send events to ga.
i understood i can use the 'set_event' javascript events using the Plus sucscript at least ?
is there another option to call ga (and still using basic plan) ?
(we are using wordpress btw)

Answers

  • Claude_SchlesserClaude_SchlesserAdministratorOneAll Team
    edited August 2015
    Hi Randy,

    with easiest solution would be to use the events from our Plus plan. We even provide a JavaScript file that you can simply add to your website to push the events to Google Analytics.

    <script type="text/javascript" src="//REPLACE-WITH-YOUR-SUBDMOAIN.api.oneall.com/integration/google-analytics.js">

    If you want to stick with the Basic plan, then you need to add a condition to the <head>...</head> section of your website and then you push to Google Analytics without relying on our events.

    In pseudo-code this would be something like this:

    if (is_social_login_user) { <script type="text/javascript" > _gaq.push(['_trackEvent', 'Social Login', 'New User']) </script> }

Welcome!

Please sign in to your OneAll account to ask a new question or to contribute to the discussions.

Please click on the link below to connect to the forum with your OneAll account.