Installation
To install the Ours Privacy tracking script, we recommend using Google Tag Manager.
Installation
We recommend using GTM to install Ours Privacy on your properties. See Tracking via Google Tag Manager for detailed instructions.
Notes:
- The tracking script automatically captures properties like Advertising ClickIds, UTM parameters, referrers, and user agents.
- The destinations (Facebook Ads, Google Ads, CRMs, etc) all have default mapping configurations for how we send data over to them. They are generally setup to be useful out of the box with minimal configuration.
- When you install Ours Privacy upon initialization of all pages, Ours Privacy automatically tries to stitch visitor identity together across multiple domains (see User Identity and Matching). The more entry points you track, the better attribution you will generally get.
Advanced: Web SDK Install
Google Tag Manger is optional and not required to track Ours Privacy events on your website or web app.
If you have an engineering team or someone who knows a bit of Javascript, you can install the Ours Privacy Web SDK.
To do this, copy/paste the Javascript code snippet found in your Ours Privacy account onto your website or product. You should paste this code snippet in the <head>
of your website, in the same location you would typically place the Meta or Google Analytics tracking codes.
You can now track events by calling: ours('track', 'Event Name')
anywhere on your website. You can use any event name you'd like.
Steps for Javascript Install:
- Navigate to Install Ours in the side panel of your Ours Privacy account.
- Copy the Copy Install Code Directly button
- Paste the code into the
<head>
section of every page on your website, placing it just before the closing</head>
tag.
Updated about 1 month ago