Docs
العربية Get your keys

Upgrade from v1

Pages with the old tag keep working. Move to the new tag when you can.

On this page

Old pages keep working#

The file a/v1/a.js now loads the new script with the same key, so nothing breaks on pages that still carry this tag:

The old tag
<script
  src="https://js.antiro.io/a/v1/a.js"
  data-key="pk_xxxxx"></script>

The old functions remain:

FunctionWhat it does now
Antiro.init()Starts the script when the old tag has no key. Otherwise nothing.
Antiro.track()Nothing.
Antiro.check()Answers like Antiro.decide() once the script is running, and allow before that.

Move to the new tag#

Replace the old tag with the new one, using the same key.

The new tag
<script
  src="https://js.antiro.io/v2/antiro.js"
  data-key="pk_xxxxx"
  async></script>

Pages with the old tag run the submit check. If that does not suit your checkout, add data-forms="off" to the new tag.

Search by topic, field name or status code.