Home / Integrations / Woopra / Identifying visitors in Woopra using GTM & URL Variables
Identify Visitors in Woopra using URL variables

Identifying visitors in Woopra using GTM & URL Variables

To get the most out of Woopra you want the ability to identify as many visitors as possible on your website so you can track their every movement and gain better analytics into how certain visitors behave. Woopra has already written some quality documentation on sending visitor information to identify customers, great for anyone who is code savvy. For those non-programmers this can be simplified using GTM to capture and send events to Woopra.

Implementation Time: 60 mins

(For anyone running WordPress, simply install the Woopra plugin which will automatically track any visitors which use WordPress to login to your website. Super easy!)

So what happens when you run a website which doesn’t use a login system and you want to identify those users ?

Option 1: Using URL query variables
Option 2: Using Form Submissions

Woopra has made this simple. User can be identified using their Name or Email Address as the primary identifier which can be assigned directly from user input on your website (form, url bar, etc). Users no longer need to be logged in and can be identified across different devices.

Identify visitors using the URL:

This is the easiest to implement but it also requires that your visitors are on your mailing list in which you can pass query variables in emails you send. This is possible in email systems such as Mailchimp through the use of merge fields.

For Example: A subscriber clicks a merge link in an email. You want to have all of these 3 fields sent to Woopra to identify that customer for future visits.

http://www.yourwebsite.com/?email[email protected]&name=Fred&phone=123456789

Create the URL variables in GTM:

  1. Open GTM and navigate to Variables > Create new
  2. Name the variable something you can remember
  3. Select URL as the variable Type
  4. Select Query component as the variable
  5. Enter your query key. In the example below we have used email
  6. Repeat for variables Name, Phone, etc

Create the URL Trigger in GTM:

  1. Open GTM and navigate to Triggers > Create New
  2. Name the Trigger
  3. Select Page View as the event
  4. If you wish, only fire when the Page URL contains the query variable set in the previous step

Create the URL Tag in GTM:

  1. Open GTM and navigate to Tags > Create New
  2. Name your tag
  3. Choose HTML Tag as the product type
  4. Configure the tag with the JavaScript which will send the event to Woopra (below)
  5. Add trigger set from the previous step which the tag will fire on

(Note: {{URLName}} is the name of the variable which you created in GTM)

And now you’re done! Publish the GTM container and test out the tracking using a dummy URL and the variables you’ve just created.

In Step 2 we explore how to use this same technique but using Form Variables rather than URL variables

Hope you enjoyed reading, please leave any comments you might have below!


  • Was this Helpful ?
  • yes   no

About The Moo Master

As today's world moves towards more cloud based solutions, it's not always easy to find an all-in-one solution to a business problem. We focus on business development. finding new, creative and innovative ways to use different IT systems to enhance and automate business processes. We're happy to share our knowledge and solutions we've come up with over the years to some of those unique IT/Business problems.

Check Also

Lead Revisit Notifcations

Lead Revisit Notifications using Woopra

Woopra has already expanded the way we can integrate and automate our website with other ...

Leave a Reply

Your email address will not be published. Required fields are marked *