You are here: Home > Tools > eCampaigning Tool > Documentation > Tracking Tests

Tracking Testing Conventions

The following test cases cover the most common situations when the testing system needs to work. The following conventions are used which should be replaced with the actual !URLs:

  • TestActionDomain is the domain at which you have your action editions installed (at TestActionEditionPath? )
  • TestReferrerDomain is the domain in which you embed links to to target Action Edition (TestActionEditionPath?) and with FullPath? includes the exact URL of the test referrer page
  • A direct link refers to coming to the TestActionDomain site by manually typing in the URL or clicking on a email link as both have no referrer and are reported by web analytics software as coming to the site direct (no referrer).
  • An indirect link refers to coming to the TestActionDomain site via another site (visit has a referrer)

These tests are mainly for development purposes and don't need testing if you are just deploying the package as long as you have enabled the tracking system (see Install and Configure) and are using the default Tracking variables (see Tracking)

How it Works

The Landing and Onsite Origin URLs are stored in the Action Record and includes the full query string (which may also contain tracking variables for other tracking systems like Google Analytics). On saving an action record, these URLs are be parsed and: 1) The individual tracking values each stored in separate action record fields 2) The query string tracking variables and values removed from the Landing URL that is saved (but not all query string values in case there are others)

The Landing and Onsite Origin URLs can both contain tracking tags (as part of the query string)

If a query string variable contains more than one value or if two different values for the same query string variable exist in the Landing and the Onsite Origin URLs, then each distinct value is to be stored in the same Action Record field separated by a delimiter.

Tracking Test Cases

This is a set of tests for the eCampaigning package and it's tracking system.

Test 1: Direct Link without referrer

  1. Open a new browser (not a new window) so a new session is recorded (and the results aren't contaminated with previous tests)
  2. Cut and paste the link ( http://TestActionDomain/TestActionEditionPath ) into the new browser and go to the page
  3. Type in your first name, Test 1 as your last name and the rest of the details & submit

Expected Results

  • Supporter IP address: not 127.0.0.1
  • Referrer URL: null
  • Onsite Origin URL: direct
  • Landing URL: http://TestActionDomain/TestActionEditionPath
  • Source code: null
  • Medium code: null
  • Content code: null
  • Participant ID: null
  • Name code: null
  • Terms: null

Test 2a: Indirect Link without referrer

  1. Open a new browser (not a new window) so a new session is recorded (and the results aren't contaminated with previous tests)
  2. Cut and paste the link ( http://TestActionDomain ) into the new browser and go to the page
  3. Take a direct link on the page to the action (if possible)
  4. Type in your first name, Test 2a as your last name and the rest of the details & submit

Expected Results

  • Supporter IP address: not 127.0.0.1
  • Referrer URL: null
  • Onsite Origin URL: http://TestActionDomain
  • Landing URL: http://TestActionDomain
  • Source code: null
  • Medium code: null
  • Content code: null
  • Participant ID: null
  • Name code: null
  • Terms: null

Test 2b: Indirect Link without referrer

  1. Open a new browser (not a new window) so a new session is recorded (and the results aren't contaminated with previous tests)
  2. Cut and paste the link ( http://TestActionDomain ) into the new browser and go to the page
  3. Go to one or more non action pages
  4. Go the the action page from a different page than the landing page (not http://TestActionDomain)
  5. Type in your first name, Test 2b as your last name and the rest of the details & submit

Expected Results

  • Supporter IP address: not 127.0.0.1
  • Referrer URL: null
  • Onsite Origin URL: whatever page you went to the action page from
  • Landing URL: http://TestActionDomain
  • Source code: null
  • Medium code: null
  • Content code: null
  • Participant ID: null
  • Name code: null
  • Terms: null

Test 3: Direct Link with referrer

  1. Open a new browser (not a new window) so a new session is recorded (and the results aren't contaminated with previous tests)
  2. Click here to go to http://TestActionDomain/TestActionEditionPath
  3. Type in your first name, Test 3 as your last name and the rest of the details & submit

Expected Results

Test 4: Direct Link with referrer & origin code

  1. Open a new browser (not a new window) so a new session is recorded (and the results aren't contaminated with previous tests)
  2. Click here to go to http://TestActionDomain/TestActionEditionPath?s=test4
  3. Type in your first name, Test 4 as your last name and the rest of the details & submit

Expected Results

Test 5: Indirect Link with referrer

  1. Open a new browser (not a new window) so a new session is recorded (and the results aren't contaminated with previous tests)
  2. Click here to go to http://TestActionDomain/?s=test5
  3. Take a direct link on the page to the action (if possible)
  4. Type in your first name, Test 5 as your last name and the rest of the details & submit

Expected Results

Test 6: Indirect Link with referrer & origin code

  1. Open a new browser (not a new window) so a new session is recorded (and the results aren't contaminated with previous tests)
  2. Click here to go to http://TestActionDomain/?s=test6
  3. Take a direct link on the page to the action (if possible)
  4. Type in your first name, Test 6 as your last name and the rest of the details & submit

Expected Results

Test 7: Indirect Link with referrer & origin code & surfing site

  1. Open a new browser (not a new window) so a new session is recorded (and the results aren't contaminated with previous tests)
  2. Click here to go to http://TestActionDomain/?s=test7
  3. Go to one or more non action pages
  4. Go the the action page from a different page than the landing page (not http://TestActionDomain/?s=test7)
  5. Type in your first name, Test 7 as your last name and the rest of the details & submit

Expected Results

  • Supporter IP address: not 127.0.0.1
  • Referrer URL: http://TestReferrerDomain/FullPath
  • Onsite Origin URL: whatever page you went to the action page from
  • Landing URL: http://TestActionDomain/
  • Source code: test7
  • Medium code: null
  • Content code: null
  • Participant ID: null
  • Name code: null
  • Terms: null

Test 8: Indirect Link with referrer & origin code & surfing site-taction-surf site-action

  1. Open a new browser (not a new window) so a new session is recorded (and the results aren't contaminated with previous tests)
  2. Click here to go to http://TestActionDomain/?s=test8
  3. Go to one or more non action pages
  4. Find a link that returns you to the action page and follow it
  5. Surf some more by going to one or more non action pages
  6. Return to the the action page from a different page than the landing page (not http://TestActionDomain/?s=test8)
  7. Type in your first name, Test 8 as your last name and the rest of the details & submit

Expected Results

  • Supporter IP address: not 127.0.0.1
  • Referrer URL: http://TestReferrerDomain/FullPath
  • Onsite Origin URL: whatever last page you went to the action page from
  • Landing URL: http://TestActionDomain/
  • Source code: test8
  • Medium code: null
  • Content code: null
  • Participant ID: null
  • Name code: null
  • Terms: null

Test 9: Direct Link with referrer & origin code & surfing site

  1. Open a new browser (not a new window) so a new session is recorded (and the results aren't contaminated with previous tests)
  2. Click here to go to http://TestActionDomain/TestActionEditionPath?s=test9
  3. Go to one or more non action pages
  4. Find a link that returns you to the action page and follow it
  5. Type in your first name, Test 9 as your last name and the rest of the details & submit

Expected Results

Test 10: Direct Link with referrer & multiple codes, including a non-relevant code (for tracking)

  1. Open a new browser (not a new window) so a new session is recorded (and the results aren't contaminated with previous tests)
  2. Click here to go to http://TestActionDomain/TestActionEditionPath?s=10s&m=10m&c=10c&p=10p&n=10n&t=10t&x=10x
  3. Type in your first name, Test 10 as your last name and the rest of the details & submit

Expected Results

Test 11: Direct Link with referrer & multiple codes

  1. Open a new browser (not a new window) so a new session is recorded (and the results aren't contaminated with previous tests)
  2. Cut and paste the link ( http://TestActionDomain/TestActionEditionPath?s=11s&m=11m&p=11p&c=11c&t=11k ) into the new browser and go to the page
  3. Type in your first name, Test 11 as your last name and the rest of the details & submit

Expected Results

  • Supporter IP address: not 127.0.0.1
  • Referrer URL: none
  • Onsite Origin URL: direct
  • Landing URL: http://TestActionDomain/TestActionEditionPath
  • Source code: 11s
  • Medium code: 11m
  • Content code: 11c
  • Participant ID: 11p
  • Name code: 11n
  • Terms: 11t

Test 12: Indirect Link with referrer & multiple codes

  1. Open a new browser (not a new window) so a new session is recorded (and the results aren't contaminated with previous tests)
  2. Click here to go to http://TestActionDomain?s=12s&m=12m&c=12c&p=12p&n=12n&t=12t
  3. Take a direct link on the page to the action (if possible)
  4. Type in your first name, Test 12 as your last name and the rest of the details & submit

Expected Results

Test 13: Indirect Link with onsite codes

  1. Set-up a link on http://TestActionDomain/TestPage going to http://TestActionDomain/TestActionEditionPath?s=13s&m=13m&c=13c&p=13p&n=13n&t=13t
  2. Open a new browser (not a new window) so a new session is recorded (and the results aren't contaminated with previous tests)
  3. Click here to go to http://TestActionDomain/TestPage
  4. Click on the link with the tracking tags to the action
  5. Type in your first name, Test 13 as your last name and the rest of the details & submit

Expected Results




subject:
  ( 1 subscriber )
Sponsor the eC Tool

Can't help with development? Help pay for someone who can.

Fast checkout through Google   Sponsor:
£
  

Make payments with PayPal - it's fast, free and secure.   Sponsor:
£
  
Sponsorship details >
Go Beyond Tools...

Tools are helpful. But to be great at eCampaigning you need more: strategy, tactics, skills, experience, analysis, etc..

FairSay's Training helps you at whatever level of experience you are.