Hello,
I would like to inquire info about the usage of content analysis module.

My issue is that, I activated content analysis module and configured it to work for page content type.
I created a page node and tried it. The only I can see is a blank pop up which is stuck in 0% of analysis.
Below is the link you can check it by viewing a screenshot of this blank page.
http://www.imobilizer.gr/screenshot/content_analysis_blank.jpg

DO I need to connect content analysis to any external data source in order to work properly?
Do I need to have a licence or a subcription key, as I realized after installing scribeseo module(works in cooperation with content analysis module and content optimization) it's not free, although the drupal community is supposed to give free module (without buying)?

I appreciate any advice
Thank you for giving me some help with this issue, apologies for any inconvenience as I am "beginner", in drupal community.

CommentFileSizeAuthor
content_analysis_blank.jpg40.76 KBdrupalinio

Comments

drozas’s picture

Hi,

We are experiencing a similar issue, in our case we are using Content Analysis (6x-1.6) in combination with Content Optimizer 6.x-2.2 (http://drupal.org/project/contentoptimizer/). The modal window get frozen only after the first click, if we click it again in "Analyze Content" it works.
We were experiencing a similar issue before and we discovered that it was due to a problem loading an external JS library (issue in Content Analysis queue - http://drupal.org/node/1271740 , issue in Twitter Profile Widget - http://drupal.org/node/1201204), but in this case the error is happening again, even after disabling that module.
I have been checking also this issue that looks similar (http://drupal.org/node/819220) but it does not applied to any of the cases reported in this ticket neither.
After debugging with Firebug we found the following JS error raised by the function contentanalysis_full_analysis();:

Uncaught ReferenceError: _gaq is not defined
(anonymous function)agenda-event:43
o.extend.eachjs_41e2923bee1bad6fc535d17a0a14b6f8.js:12
o.fn.o.eachjs_41e2923bee1bad6fc535d17a0a14b6f8.js:12
(anonymous function)agenda-event:7
o.event.handlejs_41e2923bee1bad6fc535d17a0a14b6f8.js:19
o.event.add.Jjs_41e2923bee1bad6fc535d17a0a14b6f8.js:19
o.event.triggerjs_41e2923bee1bad6fc535d17a0a14b6f8.js:19
o.event.triggerjs_41e2923bee1bad6fc535d17a0a14b6f8.js:19
o.event.triggerjs_41e2923bee1bad6fc535d17a0a14b6f8.js:19
o.event.triggerjs_41e2923bee1bad6fc535d17a0a14b6f8.js:19
o.event.triggerjs_41e2923bee1bad6fc535d17a0a14b6f8.js:19
o.event.triggerjs_41e2923bee1bad6fc535d17a0a14b6f8.js:19
o.event.triggerjs_41e2923bee1bad6fc535d17a0a14b6f8.js:19
o.event.triggerjs_41e2923bee1bad6fc535d17a0a14b6f8.js:19
o.event.triggerjs_41e2923bee1bad6fc535d17a0a14b6f8.js:19
o.event.triggerjs_41e2923bee1bad6fc535d17a0a14b6f8.js:19
o.event.triggerjs_41e2923bee1bad6fc535d17a0a14b6f8.js:19
o.event.triggerjs_41e2923bee1bad6fc535d17a0a14b6f8.js:19
o.event.triggerjs_41e2923bee1bad6fc535d17a0a14b6f8.js:19
o.event.triggerjs_41e2923bee1bad6fc535d17a0a14b6f8.js:19
o.event.triggerjs_41e2923bee1bad6fc535d17a0a14b6f8.js:19
o.event.triggerjs_41e2923bee1bad6fc535d17a0a14b6f8.js:19
o.event.triggerjs_41e2923bee1bad6fc535d17a0a14b6f8.js:19
o.fn.extend.triggerjs_41e2923bee1bad6fc535d17a0a14b6f8.js:19
o.extend.eachjs_41e2923bee1bad6fc535d17a0a14b6f8.js:12
o.fn.o.eachjs_41e2923bee1bad6fc535d17a0a14b6f8.js:12
o.fn.extend.triggerjs_41e2923bee1bad6fc535d17a0a14b6f8.js:19
o.each.o.fn.(anonymous function)js_41e2923bee1bad6fc535d17a0a14b6f8.js:19
contentanalysis_analyzejs_41e2923bee1bad6fc535d17a0a14b6f8.js:1072
contentanalysis_full_analysisjs_41e2923bee1bad6fc535d17a0a14b6f8.js:1015
(anonymous function)agenda-event:1
o.extend.globalEvaljs_41e2923bee1bad6fc535d17a0a14b6f8.js:12
zjs_41e2923bee1bad6fc535d17a0a14b6f8.js:12
o.extend.eachjs_41e2923bee1bad6fc535d17a0a14b6f8.js:12
o.fn.o.domManipjs_41e2923bee1bad6fc535d17a0a14b6f8.js:12
o.fn.o.appendjs_41e2923bee1bad6fc535d17a0a14b6f8.js:12
o.fn.o.htmljs_41e2923bee1bad6fc535d17a0a14b6f8.js:12
Drupal.CTools.AJAX.commands.modal_displayjs_41e2923bee1bad6fc535d17a0a14b6f8.js:2072
Drupal.CTools.AJAX.respondjs_41e2923bee1bad6fc535d17a0a14b6f8.js:1272
Ijs_41e2923bee1bad6fc535d17a0a14b6f8.js:19
o.extend.ajax.Njs_41e2923bee1bad6fc535d17a0a14b6f8.js:19

It seems in our case there is a problem with a reference to a JS file from Google Analytics (the error does not occur after disabling google_analytics module). Are you using google_analytics module as well?. I'll let you know if we figure out what the reason can be. Any feedback is very appreciated. Thanks!.

drupalinio’s picture

Yes, I was using Google Analytics Module as well, in that installation of drupal, which now is suspended.
Any help in this issue, will be appreciated. Now we not use Content Analysis (6x-1.6) in combination with Content Optimizer 6.x-2.2 , but we may use in the future

So thank you in advance for investigating into this matter and I'll post any helpful information concerning this matter.

drozas’s picture

Hi,

It seems the problem in our case was that we were actually discarding the Google Analytics JS script for those pages, so we just needed to discard contentanalysis path as well.

Our previous configuration of the google_analytics module in the Page specific tracking settings section at /admin/settings/googleanalytics was:

Add tracking to specific pages: Add to every page except the listed pages.

admin
admin/*
batch
node/add*
node/*/*
user/*
\*imce\*

Since we do not want to track node/add* neither node/*/* we just needed to discard all the entries from contentanalysis, so we added:

admin
admin/*
batch
node/add*
node/*/*
user/*
\*imce\*
contentanalysis/*

[contentanalysis/ajax/* should work too if your are interested in tracking contentanalysis/* for some reason]



In case you do want to track node/add/* and node/*/* pages you just need to remove them and it will work as well:

admin
admin/*
batch
user/*
\*imce\*

I hope this will be helpful for your case as well!,

David

drupalinio’s picture

Thank you so much for the detailed advise.

kyletaylored’s picture

Issue summary: View changes
Status: Active » Closed (outdated)