Skip to main content

Adding the Marketing Agent script to your website

Learn how to set up your website to show the Docket widget

Bobby Isac avatar
Written by Bobby Isac
Updated this week

Note: You will need your web admin for this task.

There are 2 ways to add the script to your website:

  1. Using Google Tag Manager.

  2. Directly adding to your website

Using Google Tag Manager

  1. Go to the Google Tag Manager dashboard and navigate to "Tags". Click on "New".

  2. Give your tag a name that is easy to identify. For e.g. "Docket Marketing Agent script".

  3. Click on "Tag Configuration".

  4. Choose "Custom HTML".

  5. Copy your Docket Marketing Agent snippet from the Marketing Agent Configurations Page.

    1. You can find it under the "Setup Website" section.

  6. Now paste this code into your Google Tag Manager under "HTML".

  7. Click on "Triggering".

  8. You can choose which pages you want to insert the script into. We recommend choosing "All Pages".

    1. You can configure which pages the widget shows up, in the Marketing Agent Configurations Page.

  9. Finally, click on "Save" and you are done.

Adding the script directly on to your website

  1. Copy your Docket Marketing Agent snippet from the Marketing Agent Configurations Page.

    1. You can find it under the "Setup Website" section.

  2. Add the script to all pages on your website.

    1. Script should be added to the end of the <body> section of your page, just before the </body> tag.

Have questions?

For any further assistance or troubleshooting, please reach out to our customer support team at [email protected].

Did this answer your question?