Connect with Tag Manager

How-to stream product data from Google Tag Manager to Ripe

The key objective of this template is to enable Ripe to set up a live stream of events effortlessly. This stream will tell the Ripe app who is doing what inside your products and on your websites.

To set up Ripe with Tag Manager, you need to be an Admin for the Tag Manager workspace where you want to install Ripe

Overview

  1. Get API key from Ripe and add it as a variable in Tag Manager

  2. Installing Ripe from the Community Template Gallery

  3. Set-up Tags so Ripe can read specific data you want to shareshare

    1. Identifying leads/users in your product through the Ripe.identify tag

    2. What pages do leads/users visit through the Ripe.page tag

    3. Track what actions leads/users take through the Ripe.track tag

Set-up Ripe API Key

The API Key can be found in your Ripe account settings under integrations.

You can sign in using Google or Microsoft if you do not have an account. Based on your email domain, you will automatically be added to the correct account. Make sure you enable all optional permissions if prompted.

  1. Click on the Segment card.

  2. Copy the API Key and keep it accessible for the following step.

  3. Open Tag Manager and create a new User-Defined Variable

  4. Select Constant and when saving, set the name to the Ripe API key

Set up the Ripe Template

With the Ripe API key saved as a variable, we can now install the Ripe Template, making it easy to run the script on your page and set up tags.

  1. From within Tag Manager, click Templates.

  2. In the Variable Templates section, click Search Gallery.

  3. To filter the list, search for Ripe in the upper right.

  4. Click the Ripe template to view details.

  5. To add the template, click. Add to Workspace.

  6. Approve the required template permissions.

Set up the Ripe Tags

Once the template is installed, you can add tags activated by a trigger. To get started, navigate to Tags in Tag Manager and Create a new tag. All Tags require a Ripe API key, so start by populating that field with the variable created in the previous step.

You can toggle the tag type you want to use by selecting the below methods and populating the corresponding fields. In this table, we have also added the basic recommended setup you can use for testing including what triggers to use:

Tag type
Varaiables
Trigger

.identify

email*, userId*, name

Page initialization

.page

page title

Page load

.track

event (name)*

Custom event

The Identify tag should look something like this after applying these:

Make sure you use the correct variable for userId and that it's unique to the user who performed the action. You can read more on what additional traits can be added here.

Advanced Tags

Once the template is installed, any other SDK calls can also be used. A complete list can be found here.

Last updated