![]() |
![]() |
|
|
A Sample Campaign
In previous sections of the tour, the focus was on the commerce features of the sample Web application. The descriptions were primarily intended as an overview for the Java developers or Commerce Business Engineers (CBEs) who will use the JSP templates and tags to build applications.
This final chapter of the tour switches the focus to the campaign features, especially from the perspective of the business analysts and marketing professionals who will use the graphical client tool called the BEA E-Business Control Center.
The following topics are discussed:
Introduction and Prerequisites
This tour takes you through a basic sample campaign, and shows you the simple JSP tags that have been inserted in the sample JSP templates. These JSP tags do things like provide placeholders on the Web pages for content that it either associated with a campaign, or operates independently of a campaign. The characteristics of that content is determined by the person who defines the campaigns in the E-Business Control Center, the profiles of people using the Web site, and the events that occur while people are using the Web site.
First, a few basic facts about the BEA E-Business Control Center and campaigns:
For more information about the product features according to license, see the Guide to Using the E-Business Control Center. This document is a copy of the online Help that is integrated into the client tool.
Step 1: Starting the E-Business Control Center
The E-Business Control Center is a client that connects locally or remotely to files or a server running a server running WebLogic Portal applications.
If the E-Business Control Center is not installed yet, you or your system administrator should see "Installing the E-Business Control Center" in the Installation Guide. After the installation, you or your system administrator must set up the product license. If that step has not happened yet, see Post-Installation Considerations in the Installation Guide.
Before you start the E-Business Control Center, the server must be running. The Web application does not have to be running, but for the purposes of this tour we suggest that you have it running too. For information about starting the server and opening the Web application, see Starting the Tour.
On a supported client Windows system, use the Start menu to start the E-Business Control Center. For example:
Start
The E-Business Control Center client displays a splash screen with a number of Initializing.... messages, and then opens its screens on the desktop.
Step 2: Connecting from the Client Tool to a Running Server
Although the majority of E-Business Control Center functionality does not require users to log in to a running WebLogic Portal server, some areas of the E-Business Control Center require you to log in to the server to view or use certain data.
Figure 7-1 Setting up a Connection to the Server
Figure 7-2 Adding a Connection
For example, http://localhost:7501.
If your are running the E-Business Control Center on the same server as WebLogic Portal, you can use the name localhost for the server name. The default installation port is 7501. If you are not sure of the port number, please check with your system administrator.
During the rest of this tour, you will be prompted for a username and password. Try the following:
Username: system
Password: weblogic
This assumes that the person who did the installation entered weblogic as the password for the system account when WebLogic Server was installed. If you are not sure, please check with your system administrator.
Step 3: Examining TourCampaign1: Simple Banner Ad
Once the connection from the client tool to the server is established, we can start exploring some of the sample campaign data that ships with WebLogic Portal. To see the sample data, you must load an application in the E-Business Control Center. To do this:
The wlcsApp sample application loads in the E-Business Control Center, though it may seem like nothing happens. But you will see "Application: wlcsApp" just below the Explorer window's toolbar.
This application is a sample enterprise application that ships with WebLogic Portal. You are not loading the enterprise application itself. Rather, you are loading a grouping of XML files that are associated with each tool in the E-Business Control Center. These files, when synchronized to the WebLogic Portal server, will help control the behavior of the enterprise application.
Figure 7-3 Explorer Window
Figure 7-4 Campaign Editor Window
In the Start/Stop pane, notice the existing start and stop dates for the campaign. The End Criteria section of the pane is where you can set goals that, when met, will stop the campaign prior to its end date. Goals are either based on ad impressions (when a visitor simply views an ad on a Web page) or ad clickthroughs (when a visitor actually clicks a displayed ad). You determine the number of impressions or clickthroughs required to meet the goal and end the campaign. In TourCampaign1, this goal is set to 25 ad impressions. Figure 7-5 End Criteria Detail Window
Notice how this particular campaign is specifying two banner ad graphics that will be displayed. On this screen, the business analyst or marketing professional can set the target number and characteristics for the campaign, the goal scope, and the goal type. Figure 7-6 Details Display for Ad Scenario for Campaign
Again, a scenario is the primary building-block of campaigns. A scenario is composed of one or more scenario actions, all of which take place if their criteria are met: if a particular event occurs or if a customer is part of a specified customer segment As you can see, two actions are defined for this scenario. The scenario occurs if:
As you will recall from an earlier chapter in the tour, the newuser.jsp template includes a newdemographictemplate.inc file. It contains form fields that allow the person registering with the Web site to characterize themselves in one of several categories. Figure 7-7 shows a portion of the Demographic Options on the newuser.jsp:
Figure 7-7 Demographic Options from newuser.jsp Template
For the sample campaigns, there are two registered customers you need to know about:
Notice how on the initial main.jsp template for the running Web application, before logging in as any user, the default banner graphics are:
Figure 7-8 shows the initial display for the sample Web application:
Figure 7-8 Initial Display for the Web Application
The tourBanner1.gif and tourSide01.gif images are default images. The placeholder JSP tag is simply: To experience the first sample campaign and see what the Web visitor will see, let's access the Web application in a browser:
<ph:placeholder name="<%= banner %>" />
Or:
http://zazen:7501/wlcs
Click the Log In link in the horizontal navigation section of main.jsp.
When you arrive on the login.jsp template, log in as:
Username: suecarpenter
Password: password
If you entered Sue's username and password correctly, notice the changes when you arrive back on the main.jsp template. Figure 7-9 shows the sample display.
Figure 7-9 Main.jsp Display for Logged-in User Sue Carpenter
Sue is in the Contractor customer segment. Notice the targeted "Contractor's Journal" ad is now used in the banner. The image file name is tourBannerJournal.gif. Let's go back to the E-Business Control Center.
Figure 7-10 Action that References Contractor Customer Segment
Figure 7-11 Notice the "ad search" link on the Ad Action Window
Username: system The password is set when WebLogic Server is installed. Ask your system administrator for the proper password. You can also have your system administrator add you to the Administrators group in the WebLogic Portal Administration Tools. Then you can use your normal username and password. Figure 7-12 Ad Search Window
Password: weblogic
Of course, you can now see the tourBannerJournal.gif image that is associated with customers in the Contractor customer segment, as defined in the TourCampaign1. If you want, you can highlight the item in the Descriptors row to see how the Preview function works.
On the Web application, you can log out as Sue Carpenter and then log in as Bob Smith. (The username is bobsmith and the password is password.) Bob is in the "Affluent Mr/Ms Fixup" customer segment. Figure 7-13 shows the main.jsp display for the logged in Bob Smith.
Figure 7-13 Main.jsp Display for Logged In User Bob Smith
As you can see, the targeted banner ad for Bob Smith is using the tourBannerFixup.gif image. You can confirm this in the E-Business Control Center by following the scenario action that references the Affluent Mr/Ms Fixup customer segment. After you create a new placeholder in the E-Business Control Center, a CBE must use a special tag (the <ph:placeholder> JSP tag) in the location that you want to display ads. For example, if you create a placeholder to display ads in the top banner, a CBE must add a <ph:placeholder> tag to the top banner. When a customer accesses a page that contains a placeholder JSP tag, the tag starts the process of choosing a query, running the query, and then generating the HTML tags that the browser needs to display the ad. Once a CBE uses this tag on a page on your web site, you use the E-Business Control Center to change the queries that the tag can run; you do not need a CBE to modify the tag.
What's Next?
This concludes the JSP Commerce and Campaign tour. To learn more about the E-Business Control Center, see the online Help in the client tool. A copy of the online Help is also available in the Guide to Using the E-Business Control Center. This document is of interest to business analysts, marketing professionals, and developers. In the documentation, developers are referred to as business engineers.
Business Engineers should also read the Guide to Developing Campaign Infrastructure and the Guide to Events and Behavior Tracking.
To learn more about the Commerce services JSP templates, Webflow, Pipeline, the product catalog, and the other concepts introduced in the tour, business engineers should see the following documents:
![]() |
![]() |
|
Copyright © 2001 BEA Systems, Inc. All rights reserved.
|