Skip to content

Commit 2e89e30

Browse files
Alexandre Dutraolim7t
authored andcommitted
JAVA-2601: Inject Google Tag Manager scripts in generated API documentation
1 parent 77c301d commit 2e89e30

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

changelog/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ This version brings in all functionality that was formerly only in the DataStax
88
such as the built-in support for reactive programming. Going forward, all new features will be
99
implemented in this single driver.
1010

11+
- [improvement] JAVA-2601: Inject Google Tag Manager scripts in generated API documentation
1112
- [improvement] JAVA-2551: Improve support for DETERMINISTIC and MONOTONIC functions
1213
- [documentation] JAVA-2446: Revisit continuous paging javadocs
1314
- [improvement] JAVA-2550: Remove warnings in ContinuousCqlRequestHandler when coordinator is not replica

pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -724,6 +724,22 @@ limitations under the License.]]></inlineHeader>
724724
<goals>
725725
<goal>jar</goal>
726726
</goals>
727+
<configuration>
728+
<header><![CDATA[<!-- Google Tag Manager -->
729+
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
730+
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
731+
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
732+
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
733+
})(window,document,'script','dataLayer','GTM-TWSQ28');</script>
734+
<!-- End Google Tag Manager -->
735+
<!-- Google Tag Manager (noscript) -->
736+
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-TWSQ28"
737+
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
738+
<!-- End Google Tag Manager (noscript) -->]]></header>
739+
<additionalOptions>
740+
<additionalOption>--allow-script-in-comments</additionalOption>
741+
</additionalOptions>
742+
</configuration>
727743
</execution>
728744
<execution>
729745
<!-- Check that our "official" API (api.* packages) does not leak unwanted types -->

0 commit comments

Comments
 (0)