CreateAnalyticsTags.xml

+

Search Tips   |   Advanced Search

 

<?xml version="1.0" encoding="UTF-8"?>

<request
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="PortalConfig_8.0.0.xsd"
    type="update">

    <!-- This sample creates analytics tags and site compositions.
    
         Related sample files:
             ExportAnalyticsTags.xml 
             DeleteAnalyticsTags.xml
             
    
         NOTE: This sample file needs to be modified before execution.
               Update the value of the 'owner' attributes of the 'access-control',
               and 'tag' tags, and specify an existing user. 
    -->
     
    <portal action="locate">

        <!-- Locate the page. -->
        <content-node action="locate" objectid="gettingStartedPage" uniquename="ibm.portal.Home.Getting Started"/>
        
              
        <!--  NOTE:      
            
            Pattern:  <tag-name>#<tag-value>
            
            Special characters (including 'space') must be escaped!
            All tag names must start with 'com.ibm.portal.asa.'
            Tag name for site promotions must be 'com.ibm.portal.asa.SitePromotion' 
        -->
        
        
        <!-- Assignment of the site promotion "Christmas 2011" to the gettingStartedPage -->
        <tag action="update" objectid="ZCI_B1L68B1A00DO80IG7PCV0I6000" resourceref="gettingStartedPage" domain="comm" owner="uid=wpsadmin,o=defaultwimfilebasedrealm" locale="en">com.ibm.portal.asa.SitePromotion#Christmas%202011</tag>
		
		<!-- Assignment of the analytics tag 'Target Audience#Young Professionals' to the gettingStartedPage -->
        <tag action="update" objectid="ZCI_B1L68B1A00DO80IG7PCV0I7000" resourceref="gettingStartedPage" domain="comm" owner="uid=wpsadmin,o=defaultwimfilebasedrealm" locale="en">com.ibm.portal.asa.Target%20Audience#Young%20Professionals</tag>
		
	   
    </portal>
</request>