🦁
Safary Doc
  • 🏁Getting Started
  • 📖Safary Lexicon
  • DATA SOURCES
    • 🔧Add Safary script
      • Install Hosted Version
      • Install Self Hosted Version
      • Via Google Tag Manager
    • 🎯Setup Events
    • 🔌Integrations
      • CSV Import
      • Magic Link
  • DASHBOARDS
    • Profiles
    • 🧭Mindshare
    • 📈Attribution
      • Campaigns
  • BUILD
    • 💾Safary API
  • 🔒Privacy
  • ⚙️Settings
Powered by GitBook
On this page
  • Table of Content
  • Disable Location Tracking
  • Hosted Tag
  • Self-Hoster Tag

Privacy

Find all the informations concerning privacy and Safary data policy

PreviousSafary APINextSettings

Last updated 1 month ago

Table of Content


Disable Location Tracking

Hosted Tag

If you want to use our hosted script, please follow the steps below with special care in the fourth step:

  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.

  3. Go to your front-end's HTML code, and simply paste (CTRL+V or CMD+V) the script's code within the <head> … </head> tags of the pages you want to have tracking enabled.

    • When pasting the code, you should see something like:

<script>var script=document.createElement('script');script.src="https://tag.safary.club/stag-X.X.X.js";script.async=true;script.setAttribute('data-name','safary-sdk');script.setAttribute('data-product-id','prd_PiKqKcREQM');script.integrity="sha256-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";script.crossOrigin="anonymous";var target=document.head||document.body;target.appendChild(script);</script>
  1. Now to disable location tracking, add a parameter to specify that behavior:

    • Add script.setAttribute('data-location', 'disabled'); right after the part containing script=document.createElement('script');

    • It will look like this after adding it:

<script>var script=document.createElement('script');script.setAttribute('data-location','disabled');script.src="https://tag.safary.club/stag-X.X.X.js";script.async=true;script.setAttribute('data-name','safary-sdk');script.setAttribute('data-product-id','prd_PiKqKcREQM');script.integrity="sha256-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";script.crossOrigin="anonymous";var target=document.head||document.body;target.appendChild(script);</script>
  1. That's it. You can save the code in your HTML and rest assured that location data will not be tracked.


Self-Hoster Tag

If you want to use self-hosted script, please follow the steps below with special care in the fourth step:

  1. Go to your front-end's HTML code, and simply paste (CTRL+V or CMD+V) the script's code within the <head> … </head> tags of the pages you want to have tracking enabled.

    • When pasting the code, you should see something like:

<script product="prd_1234567890" referrerpolicy="origin" data-name="safary-sdk" async>(()=>{"use strict";function e(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function t(t,n,r,a){if((n||void
...
</script>
  1. Now to disable location tracking, add a parameter to specify that behavior:

    • Add data-location="disabled" right after the part containing product="prd_"

    • It will look like this after adding it:

<script product="prd_1234567890" data-location="disabled" referrerpolicy="origin" data-name="safary-sdk" async>(()=>{"use strict";function e(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function t(t,n,r,a){if((n||void
...
</script>
  1. That's it. You can save the code in your HTML and rest assured that location data will not be tracked.

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

Now click on the copy icon on the left of the code to copy the contents of the tracking script.

🔒
https://app.safary.club/
Privacy Policy
Terms of Use
https://app.safary.club/
Disable Location Tracking