Safary Documentation
  • For engineers
    • Getting started
      • Create or join a project
      • Add websites
      • Install Safary script (hosted)
      • Install Safary script (self hosted)
      • Install Safary script with Google Tag Manager
      • Setup events
      • Upload wallets
    • Integrations
      • Magic Link
    • Safary API
    • Custom domains
  • For marketers
    • Tutorials for web3 marketers
    • Pricing
      • Safary basic plan
      • Safary pro plan
    • Launch campaigns
      • UTM builder with Safary links
      • UTM builder with custom domains
      • Ad Networks
      • Quests
      • Farcaster Frames
    • Account settings
    • Privacy
      • Privacy policy
      • Disable Location Tracking
Powered by GitBook
On this page
  1. For engineers
  2. Getting started

Install Safary script with Google Tag Manager

Safary script guarantees privacy and security in Web3.

PreviousInstall Safary script (self hosted)NextSetup events

Last updated 1 year ago

How to integrate your website with Safary script via Google Tag Manager

  1. First, once you have signed up, go to your Safary's home page (). Under "Integrate Safary snippet" if you click on Hosted Tag, you should see something like:

  2. Now click on the copy icon on the left of the code to copy the contents of the tracking script - You will paste to Google Tag Manager in the following steps. - Note that alternatively you can click on "Selfhosted Tag" and copy the contents there.

  3. In your Google Tag Manager account, click on "Add a New Tag"

  4. Click on "Tag Configuration" and select "Custom HTML" as the tag type:

  5. Paste the contents copied from the Safary page into the HTML field. It should like this:

  6. Now click on "Triggering" and then select "All Pages":

  7. In the end, this is how the configuration should look like:

  8. Now just click on Save and you can submit the changes to GTM with the Safary Tag now included.

https://app.safary.club/
Example of Safary's home page with the tracking script code