This module adds a JavaScript snippet that loads the tracking script, in a non-blocking manner, from Bizible. This module begins working when it's enabled. No additional configuration necessary. The site's owner or agent reviews the analytics from the Bizible website.
5.x-8.x
Since this is a tracking and analytics module, we've written a version for Drupal 5-8. Even though Drupal 5 is now end of life, it was added just in case an existing site would like to use our service.
Project Page:
http://drupal.org/sandbox/Bizible/1885902
Repository Page:
http://drupalcode.org/sandbox/Bizible/1885902.git
All branches are similarly named, switch the 7 with 5-8.
git clone --recursive --branch 7.x-1.x http://git.drupal.org/sandbox/Bizible/1885902.git bizible_analytics
Regarding checklist item "2.3 Ensure your project contains a minimum of handwritten code.":
I understand the "Create Full Projects" role won't likely be granted.
Reviews:
http://drupal.org/node/1894210#comment-6973748
http://drupal.org/node/1900094#comment-6989440
http://drupal.org/node/1702136#comment-6989192
Comments
Comment #1
Bizible CreditAttribution: Bizible commentedChanging to needs review
Comment #2
vineet.osscube CreditAttribution: vineet.osscube commentedHi,
There feww error regaring spaces & comment, Please check it out.
http://ventral.org/pareview/httpgitdrupalorgsandboxbizible1885902git
Manual review :
1) Also rename your function ' _bizl()' to your module name bizible_analytics_bizl().
2) Use l() function to create your link in line no : 18 in hook_help()
Comment #3
udaksh CreditAttribution: udaksh commentedHi Bizible,
Manual review:
Instead of writing all javascript inside drupal_add_js(). I would say to make a seperate .js file and then add this file in drupal_add_js().
Changing the status to needs work.
Thanks,
Udaksh.
Comment #4
udaksh CreditAttribution: udaksh commentedComment #5
vineet.osscube CreditAttribution: vineet.osscube commentedYour module is very small, just 48 lines of code.
How much code do we need to approve a user?
Drupal administrator proposed two simple rules that can be used to deny the "create full projects" permission, as a general guideline.
* The project has less than five function or class method definitions
* The PHP/JavaScript source code is less than 120 lines long (including comments and white space.
Feel free to change status to Need review, after resolving all issues.
Comment #6
klausi@osscube: of course we also approve small projects, we just can't give the git vetted user role away on them.
Comment #7
Bizible CreditAttribution: Bizible commentedThanks for the quick responses.
Resolved Issues for the 7.x branch.
Now the only message from pareview is a false error that I'm guess is catching the 2nd // from the URL in the comment.
http://ventral.org/pareview/httpgitdrupalorgsandboxbizible1885902git-7x-1x
Re #2:
I didn't rename the function because the original error is a php check, and it's a JavaScript function. Also the function is safe enough not to conflict with any other functions, and named well enough to determine it's origin, especially in it's own .js file.
I didn't use the l() function in the hook_help, but did update to reflect what the l() documentation says. According to the l() documentation:
I didn't run the URL through l() or url() because as a static external link it doesn't need to be made safe from user input, or need an 'active' class attribute.
#3 Done.
Comment #8
Bizible CreditAttribution: Bizible commentedComment #9
klausiWe are currently quite busy with all the project applications and I can only review projects with a review bonus. Please help me reviewing and I'll take a look at your project right away :-)
Comment #10
Bizible CreditAttribution: Bizible commentedThe only PAReview issue is the JavaScript function.
Instead of having a separate server hit for a small js file, I put the code back into PHP, and used a heredoc for readability.
I'm still not sure of the t() in hook_help. AFAIK there's no reason to run the URL through l() or url() because it's external. Since it's not being generated from variables, it doesn't need to be made safe. The link text is a proper noun, which isn't translatable, but not sure if removing it will hinder translating it.
Reviews:
http://drupal.org/node/1894210#comment-6973748
http://drupal.org/node/1900094#comment-6989440
http://drupal.org/node/1702136#comment-6989192
Comment #11
klausiThank you for your reviews, please add them to the issue summary so that we can better track them. When finishing your review comment also set the issue status either to "needs work" (you found some problems with the project) or "reviewed & tested by the community" (you found no major flaws).
manual review:
But otherwise looks RTBC to me. Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #12
klausino objections for more than a week, so ...
Thanks for your contribution, Bizible!
I have promoted this project for you: http://drupal.org/project/bizible_analytics
Now that this experimental project has been promoted, you'll need to update the URL of your remote repository or reclone it.
Here are some recommended readings to help with excellent maintainership:
You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and get involved!
Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
Thanks to the dedicated reviewer(s) as well.
Comment #13
Bizible CreditAttribution: Bizible commentedThank you Klausi!
Comment #14.0
(not verified) CreditAttribution: commentedAdding Reviews