diff --git a/src/main/java/com/rackspace/cloud/api/docs/ApiRefMojo.java b/src/main/java/com/rackspace/cloud/api/docs/ApiRefMojo.java
index 32cc35a..dcd4101 100644
--- a/src/main/java/com/rackspace/cloud/api/docs/ApiRefMojo.java
+++ b/src/main/java/com/rackspace/cloud/api/docs/ApiRefMojo.java
@@ -30,13 +30,34 @@ public abstract class ApiRefMojo extends AbstractHtmlMojo {
private String canonicalUrlBase;
/**
- *
+ *
* @parameter
* expression="${generate-html.failOnValidationError}"
* default-value="0"
*/
private String failOnValidationError;
-
+
+ /**
+ * Specifies the Goggle Analytics Id to use on the page
+ *
+ * @parameter expression="${generate-html.enableGoogleAnalytics}" default-value="1"
+ */
+ private String enableGoogleAnalytics;
+
+ /**
+ * Specifies the Goggle Analytics Id to use on the page
+ *
+ * @parameter expression="${generate-html.googleAnalyticsId}" default-value="UA-17511903-1"
+ */
+ private String googleAnalyticsId;
+
+ /**
+ * Specifies the Goggle Analytics domain to use on the page
+ *
+ * @parameter expression="${generate-html.googleAnalyticsDomain}" default-value=".openstack.org"
+ */
+ private String googleAnalyticsDomain;
+
/**
* A parameter used to specify the security level (external, internal, reviewer, writeronly) of the document.
*
@@ -85,7 +106,10 @@ public abstract class ApiRefMojo extends AbstractHtmlMojo {
map.put("canonicalUrlBase", canonicalUrlBase);
map.put("failOnValidationError", failOnValidationError);
map.put("project.build.directory", this.projectBuildDirectory);
-
+ map.put("enableGoogleAnalytics", enableGoogleAnalytics);
+ map.put("googleAnalyticsId", googleAnalyticsId);
+ map.put("googleAnalyticsDomain", googleAnalyticsDomain);
+
return CalabashHelper.createSource(getLog(), source, pathToPipelineFile, map);
}
}
diff --git a/src/main/resources/cloud/apipage/apipage-main.xsl b/src/main/resources/cloud/apipage/apipage-main.xsl
index e4578d5..3004520 100644
--- a/src/main/resources/cloud/apipage/apipage-main.xsl
+++ b/src/main/resources/cloud/apipage/apipage-main.xsl
@@ -25,6 +25,9 @@
This operation does not require a request body.
This operation does not return a response body.
This operation does not require a request body and does not return a response body.
+
+
+ 0
@@ -118,9 +121,11 @@
+
+