CreateAnalyticsTags.xml 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. =================================================================
  4. * Licensed Materials - Property of IBM
  5. * (c) Copyright IBM Corp. 2011. All rights reserved.
  6. *
  7. * US Government Users Restricted Rights - Use, duplication or
  8. * disclosure restricted by GSA ADP Schedule Contract with IBM
  9. * Corp.
  10. *
  11. * DISCLAIMER OF WARRANTIES. The following [enclosed] code is
  12. * sample code created by IBM Corporation. This sample code is
  13. * not part of any standard or IBM product and is provided to you
  14. * solely for the purpose of assisting you in the development of
  15. * your applications. The code is provided "AS IS", without
  16. * warranty of any kind. IBM shall not be liable for any damages
  17. * arising out of your use of the sample code, even if they have
  18. * been advised of the possibility of such damages.
  19. *
  20. =================================================================
  21. -->
  22. <request
  23. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  24. xsi:noNamespaceSchemaLocation="PortalConfig_8.0.0.xsd"
  25. type="update">
  26. <!-- This sample creates analytics tags and site compositions.
  27. Related sample files:
  28. ExportAnalyticsTags.xml
  29. DeleteAnalyticsTags.xml
  30. NOTE: This sample file needs to be modified before execution.
  31. Update the value of the 'owner' attributes of the 'access-control',
  32. and 'tag' tags, and specify an existing user.
  33. -->
  34. <portal action="locate">
  35. <!-- Locate the page. -->
  36. <content-node action="locate" objectid="gettingStartedPage" uniquename="ibm.portal.Home.Getting Started"/>
  37. <!-- NOTE:
  38. Pattern: <tag-name>#<tag-value>
  39. Special characters (including 'space') must be escaped!
  40. All tag names must start with 'com.ibm.portal.asa.'
  41. Tag name for site promotions must be 'com.ibm.portal.asa.SitePromotion'
  42. -->
  43. <!-- Assignment of the site promotion "Christmas 2011" to the gettingStartedPage -->
  44. <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>
  45. <!-- Assignment of the analytics tag 'Target Audience#Young Professionals' to the gettingStartedPage -->
  46. <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>
  47. </portal>
  48. </request>