# Custom JavaScript

This integration allows you to add additional JavaScript code. This can be used to enable various third-party integrations that are not specifically implemented in DG1 platform.

JavaScript code can include <script type="text/javascript"></script> or not, both versions are acceptable.

# Add Custom JavaScript to DG1 platform

  1. Log into your DG1 Admin panel.
  2. Navigate to Plugins. Create new integration by clicking Add Add button under JavaScript.

add

  1. Enter the custom JavaScript code in the Content field and select the output location. It defines where in HTML provided JavaScript should be outputted.

settings

  1. To save your new integration, click Submit Submit button green .

Important

Never include code from unknown/untrusted sources as malicious code can create serious problems with security.

Also be mindful that including some third-party providers creates additional data processing activities that must be reflected in your “Privacy policy” and/or “Terms of use”.

If a third party provider uses cookies, you must use the Cookie registry in your DG1 platform (Settings -> Cookies) to register those providers and describe their data usage.

Copyright © 2022 DG1 Group Holdings Inc - All Rights Reserved - Terms of use - Privacy Policy - v0.2.2