That's great to hear! Let us know if you run into more issues.

Cheers,
Branden

On Tue, Nov 5, 2013 at 5:27 PM, Harry Wang <[email protected]> wrote:
> Thanks, Branden,
>
> The model loader works great and GA module works too.
>
> Cheers,
>
> Harry
>
> On Nov 4, 2013, at 1:37 PM, Branden Visser <[email protected]> wrote:
>
>> Hi Harry, sorry, this got lost in 2.0 craziness. I've replied below.
>>
>> On Mon, Nov 4, 2013 at 1:04 PM, Harry Wang <[email protected]> wrote:
>>> Hi Branden,
>>>
>>> Any help with bulk CSV user import? Is there a bulk import script for dummy 
>>> contents as well?
>>>
>>
>> I can help, but want to first verify, are you loading in random users
>> for demonstration purposes? If so, you're better off using our model
>> loader [1]. It is the same tool we use to load data into our QA
>> environment every night. It can be used like so:
>>
>> 1. Create a user tenant and disable Recaptcha on it through the Admin
>> UI. Recaptcha config can be found in the OAE Principals Module
>> configuration section
>>
>> 2. Checkout the model loader, CD into the directory and run these commands
>>
>> OAE-model-loader$ npm install -d
>> OAE-model-loader$ node generate.js -t <alias of the tenant you
>> created> -b 1 -u 50 -g 50 -c 100 -d 100
>> OAE-model-loader$ node loaddata.js -b 1 -h http://<host of your tenant>
>>
>> Then wait until all data has been loaded. The above parameters will
>> load 50 users, 50 groups, 100 content items and 100 discussions, as
>> well as a distribution of users following other users and
>> content/group/discussion membership.
>>
>>>>>> 1. The Google Analytics module only asks for the tracking ID - based on 
>>>>>> my
>>>>>> experience, the tracking code needs to be included in the pages in order 
>>>>>> for
>>>>>> GA to work but I do not see how to do that in the Admin UI.
>>>>>
>>>>> I'm not familiar with Google Analytics. Are you sure the "Tracking ID"
>>>>> is different than the "Tracking Code"? If it is, then the UI will
>>>>> automatically start using it if Google Analytics is enabled.
>>>>
>>>> I have used GA to track a few other sites, please see 
>>>> https://support.google.com/analytics/answer/1008080?hl=en&utm_id=ad for 
>>>> setting up the tracking code:
>>>>
>>>> "Paste your snippet (unaltered, in it’s entirety) into every web page you 
>>>> want to track. Paste it immediately before the closing </head> tag.
>>>> If your website uses templates to generate pages, enter it just before the 
>>>> closing tag in the file that contains the the <head> section."
>>>>
>>>> I alway needed to do the above for the tracking to work.
>>>>
>>
>> If you have enabled Google Analytics through the admin UI, we
>> automatically put the snippet of code into the template for you. You
>> just need to provide the Tracking Code / ID.
>>
>> Thanks,
>> Branden
>>
>> [1]  https://github.com/oaeproject/OAE-model-loader
>
_______________________________________________
oae-dev mailing list
[email protected]
http://collab.sakaiproject.org/mailman/listinfo/oae-dev

Reply via email to