I have created these activities this week. I have tried A/B Test, Multivariate and Experience Targeting activities and I have experienced the same issue for all of them. However, I do not mind on Experience Targeting results as my team is still working on the loggin system of my website and I cannot check yet my site with different user accounts.
Regarding metric goals, I have tried with:
- Conversion > Viewed a page (where URL introduced is the same page where activity is applied)
- Engagement > Page views
- Engagement > Time on site
Yesterday, I tried to use a global Mbox by adding the following code in my site, but still the same results:
<!--- Global mBox --> <div class="mboxDefault"></div> <script type="text/javascript">mboxCreate('GlobalMbox1','pageviews = eventdata.events.pageViews');</script>
Note that from the beginning I had set up the Configuration and Framework of my site in the Cloud Services and, after downloading both VisitorAPI.js and AppMeasurement.js and modifying them, I added the following code in the page:
<cq:include script="/libs/cq/cloudserviceconfigs/components/servicelibs/servicelibs.jsp"/> <script language="JavaScript" type="text/javascript" src="/content/VisitorAPI.js"></script> <cq:include script="/libs/cq/cloudserviceconfigs/components/servicelibs/servicelibs.jsp"/> <script language="JavaScript" type="text/javascript" src="/etc/cloudservices/testandtarget/my-target-configuration/jcr:content/public/mbox.js"></script> <script language="JavaScript" type="text/javascript" src="/content/AppMeasurement.js"></script>
- The body section (start):
<cq:include path="clientcontext" resourceType="cq/personalization/components/clientcontext"/>
<cq:include path="cloudservices" resourceType="cq/cloudserviceconfigs/components/servicecomponents"/>