3

I'm implementing SDL Web Experience Optimization 8 with Experiments. The Experiments are showing in a Page without any issues. But when I try to enable Google Analytics for Experiments I'm getting below error:

ClassNotFoundException: com.tridion.smarttarget.analytics.google.GoogleAnalyticsManager

I have followed SDL document to setup the Experiments and Analytics as well. Am I missing any jar files?

I cannot find the above class in smarttarget_core.jar. Other jar files I'm using related to Experience Optimization are smart target_cartridge.jar, session_cartridge.jar, smarttartget_entitymodel.jar.

1 Answer 1

4

In the installation media of your Experience Optimization release, you will find the following folder:

Content Delivery\roles\api\google-analytics-provider\lib

In there are 10 more jars, the last one named smarttarget_google-analytics.jar, which is the one that contains your missing class.

Following the documentation, you should:

From the installation media folder Content Delivery\roles\api\google-analytics-provider\lib\, copy all files to the WEB-INF/lib/ subfolder of the Web application.

So it looks like you missed a step.

1
  • After adding those jars now the issue is resolved. But, still I need to complete the configurations at GA end to complete the analytics part. @Bart Thanks for your answer.
    – Rajesh G
    Commented Jul 26, 2017 at 7:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.