Site Tracking

Enabling Site Tracking on your website allows you to achieve much more with Transpond.

For example tracking what users do after they have clicked a link in your email campaign, or automating a notification to yourself when someone visits an important part of your website like a pricing page.


How to enable Site Tracking

  1. Go to your Company Profile > Website Tracking
  2. Copy and paste the code from that page into the source code of your website, as instructed.
  3. Reload the page.
  4. Once picked up, Transpond will show the site there.

If you have tracking enabled on multiple sites, they'll all show on the same page.

How to view Site Tracking information

  1. Go to your Company Profile > Website Tracking
  2. Click on the site that you want to view tracking for.
  3. Now you'll get to see all the information that Transpond tracks from your site, including Unique visitors, Page Views, Locations and more.
  4. Use the tabs on the page to view details related to Visitors, Pages and Campaigns.

Site Tracking - Extra Functions

But what if you want to track specific actions like someone abandoning their shopping cart, or even just populating Transpond with more information about a customer from your own User Interface.

This is where the Site Tracking Extra Functions come in.

Below you can find options that are available to your Javascript developers once they have plugged in the Transpond web tracking JavaScript on your website.


Variables you can pass

Variable Description
mpEmailAddress The email address
mpGroupId The id of the group you would like new email addresses sent to. If not set, un-recognised addresses will be ignored.
mpPath The current path on your website.
mpQuery The current querystring on your website
mpCustomFields An object containing any custom field values you would like to send in. You can send anything in here, we will auto create the fields if they don't exist. We will even attempt to auto detect the type of data you are pushing in!

Inline

You can pass variables by simply initiating/updating them anywhere on your page like this...

<script>

var mpEmailAddress = "test@test.com";

var mpGroupId = 74175;

var mpPath = "/path.html";

var mpQuery = "?query=1";

var mpCustomFields = {

"First Name": "Colin",

"Age": 19,

"Birthdate": new Date("2015-03-25").toISOString(),

"Male: true

};

</script>



Programatically

You can force the variables to update by programatically calling a function like this...

<script>

manualTracking(mpPath,mpQuery,mpEmailAddress,mpCustomFields,mpGroupId);

</script>


Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us