New (and better) way to specify Smart Embed Code key

In Citation tracking, Smart Embed Code by Xu CuiLeave a Comment

In the past months, we have observed that more and more life science companies tried to speed their websites’ loading time by either combining all the javascript files into a single file, or caching external files. This is often done automatically by some tools (e.g. WordPress plugin). In this process, the Smart Embed Code API key might be lost and the citations won’t be shown.

To address this issue, we offer a new (and recommended) way to specify the key.

The old way (key is part of the js file):

<script src="https://www.bizgeniusapp.com/api/citation.min.js?key=1" type="text/javascript"></script>

The new way (key is specified separately in meta tag):

<meta name="bizgeniusapp-key" content="1">
<script src="https://www.bizgeniusapp.com/api/citation.min.js" type="text/javascript"></script>

By using the new way, our javascript file can be safely cached or combined with other files.

If you find the article useful, you may consider to subscribe:

Leave this empty:

Leave a Comment