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.

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.

  • 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 Jul 26 '17 at 7:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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